]> Pileus Git - ~andy/linux/commitdiff
Merge branch 'bond_locking'
authorDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2013 21:52:34 +0000 (16:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2013 21:52:34 +0000 (16:52 -0500)
Ding Tianhong says:

====================
Jay Vosburgh said that the bond_3ad_adapter_speed_changed and
bond_3ad_adapter_duplex_changed is called with RTNL only, and
the functions will modify the port's information with no further
locking, they will not mutex against bond state machine and
incoming LACPDU which do not hold RTNL, So I add port lock to
protect the port information.

But they are not critical bugs, they exist since day one, and till
now they have never been hit and reported, because change for speed
and duplex is very rare, and will not occur critical problem.

The comments in the function is very old, cleanup the comments together.
====================

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge