]> 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)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 May 2020 19:15:37 +0000 (12:15 -0700)
commit9b8ab437a7ba3c80012e39cb9651e9f5727932ef
tree62a544d649a8c645afdbfeb39965634d64997de6
parentce56062596e3aa9de69f1d230dd34a7c65b5c07a
bonding: Export skip slave logic to function

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>
drivers/net/bonding/bond_main.c