]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b1d4bcaf60654aa8ad7810cbe46d5426cee659f
tree87a38f54c15b523c1f8d024b7164d1397a7603bb
parenta2a2d39a8e20d1efbc4efa0a0626cb494f3336cd
parentd5dcb9f6cb468fa4e60641dd193c3a6ebbe7c64e
Merge branch 'bond_locking'

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>