]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'bonding_arp'
authorDavid S. Miller <davem@davemloft.net>
Wed, 11 Sep 2013 19:55:25 +0000 (15:55 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Sep 2013 19:55:25 +0000 (15:55 -0400)
Nikolay Aleksandrov says:

====================
bonding: fix arp_validate desync state & race

These two patches aim to fix the possible de-sync state which the bond
can enter if we have arp_validate without arp_interval or the other way
around. They also fix a race condition between arp_validate setting and
mode changing.

Patch 01 - fixes the race condition between store_arp_validate and bond
mode change by using rtnl for sync
Patch 02 - fixes the possible de-sync state by setting/unsetting recv_probe
if arp_interval is set/unset and also if arp_validate is set/unset

v2: Fix the mode check in store_arp_validate
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge