]> git.baikalelectronics.ru Git - kernel.git/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)
commit1c4d9e7033ce4b7e9aa9890f906c346977aa812b
treedc6e143976647fb829bd75bdaeeffb9d8b201014
parent95f7af004de98808940bdba68dbeaaa9a9e6d389
parentf8253d1ee4207f234b7fefb7466c6fe8e86f2ac9
Merge branch 'bonding_rtnl'

Ding Tianhong says:

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

The commit f9f74f0b199
(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>