]> git.baikalelectronics.ru Git - kernel.git/commit
net/bonding: Take update_features call out of XFRM funciton
authorTariq Toukan <tariqt@nvidia.com>
Sun, 17 Jan 2021 14:59:45 +0000 (16:59 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Jan 2021 04:48:40 +0000 (20:48 -0800)
commit3eb0995808c27a6ea82dd77b6b407d5e424b90e0
treea38af4a9426ca01470b6c07cc85eb57a4e638d9b
parent0b6cca729cba8c48b004f21c92b3c35ba0850189
net/bonding: Take update_features call out of XFRM funciton

In preparation for more cases that call netdev_update_features().

While here, move the features logic to the stage where struct bond
is already updated, and pass it as the only parameter to function
bond_set_xfrm_features().

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Boris Pismenny <borisp@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/bonding/bond_options.c