]> Pileus Git - ~andy/linux/commit
Merge branch 'bonding_rtnl'
authorDavid S. Miller <davem@davemloft.net>
Wed, 26 Feb 2014 21:03:06 +0000 (16:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Feb 2014 21:03:06 +0000 (16:03 -0500)
commit5d6dd5bf1b3dffe54db43d9f9eb473a7d751c6ad
treedc6e143976647fb829bd75bdaeeffb9d8b201014
parentbc90d2918b343e114ddda91802f05a05dfed559e
parentb0929915e0356acedf59504521c097ecada88b19
Merge branch 'bonding_rtnl'

Ding Tianhong says:

====================
Fix RTNL: assertion failed at net/core/rtnetlink.c

The commit 1d3ee88ae0d
(bonding: add netlink attributes to slave link dev)
make the bond_set_active_slave() and bond_set_backup_slave()
use rtmsg_ifinfo to send slave's states and this functions
should be called in RTNL.

But the 902.3ad and ARP monitor did not hold the RTNL when calling
thses two functions, so fix them.

v1->v2: Add new micro to indicate that the notification should be send
        later, not never.
        And add a new patch to fix the same problem for ARP mode.

v2->v3: modify the bond_should_notify to should_notify_rtnl, it is more
reasonable, and use bool for should_notify_rtnl.
====================

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