]> 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)
commit97dcb3f15005c33d02181ae3a6d22b007e18dbb9
tree87a38f54c15b523c1f8d024b7164d1397a7603bb
parent40c0e0e324bb52bbdf5523c4d427ef1a5dc05ce0
parenta8916e2761f20e264c15f6eb1d0c81211cea534d
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>