]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: Export skip slave logic to function
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 30 Apr 2020 19:21:32 +0000 (22:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:05 +0000 (11:41 +0100)
commit3946949d5bd3baebb2726ff21a75b583ed1b660f
tree3cfe36b46a6d464007e91141af1535f0ce44aed7
parentfe4dd968500e7c2eb564df208afab1b4b1367108
bonding: Export skip slave logic to function

[ Upstream commit 9b8ab437a7ba3c80012e39cb9651e9f5727932ef ]

As a preparation for following change that add array of
all slaves, extract code that skip slave to function.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Stable-dep-of: f8a65ab2f3ff ("bonding: fix link recovery in mode 2 when updelay is nonzero")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/bonding/bond_main.c