]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ice: Remove deprecated ice_lag_move_new_vf_nodes() call
authorDave Ertman <david.m.ertman@intel.com>
Wed, 27 Aug 2025 08:34:23 +0000 (10:34 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 19 Sep 2025 15:42:08 +0000 (08:42 -0700)
commit34138ea02a608dc39f04e364f3249e12f6002bad
tree281cd70c0ff32d84e3230edde79cc6367b04c918
parentccde82e909467abdf098a8ee6f63e1ecf9a47ce5
ice: Remove deprecated ice_lag_move_new_vf_nodes() call

Moving the code to handle the LAG part of a VF reset to helper
functions deprecated the function ice_lag_move_new_vf_nodes().
The cleanup missed a call to this function in the error path of
ice_vc_cfg_qs_msg().

In the case that would end in the error path, a NULL pointer would
be encountered due to the empty list of netdevs for members of the
aggregate.

Remove the unnecessary call to ice_lag_move_new_vf_nodes(), and since
this is the only call to this function, remove the function as well.

Fixes: 351d8d8ab6af ("ice: breakout common LAG code into helpers")
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Priya Singh <priyax.singh@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_lag.c
drivers/net/ethernet/intel/ice/ice_lag.h
drivers/net/ethernet/intel/ice/virt/queues.c