]> Pileus Git - ~andy/linux/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)
commit405a96d6ea2ed5fc0a8efa18bcf475faa95f9b96
tree87a38f54c15b523c1f8d024b7164d1397a7603bb
parent35eecf052250f663f07a4cded7d3503fd1b50729
parent108db7363736ceafdbc6fc708aa770939eb9906a
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>