]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: simplify / unify event handling code for 3ad mode.
authorMahesh Bandewar <maheshb@google.com>
Sat, 31 Oct 2015 19:45:11 +0000 (12:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2015 03:52:24 +0000 (22:52 -0500)
commit99ddba729b644b404421c2000a83856e68ae1dad
tree48a4bb01acaecc60bd9d87c2dd4c4959e926b59e
parent190640b5577ab02fb89e7b92d5598317486d404f
bonding: simplify / unify event handling code for 3ad mode.

Old logic of updating state-machine is not required since
ad_update_actor_keys() does it implicitly. The only loss is
the notification differentiation between speed vs. duplex
change. Now only one unified notification is printed.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_main.c
include/net/bond_3ad.h