From: David S. Miller Date: Wed, 18 Dec 2013 21:52:34 +0000 (-0500) Subject: Merge branch 'bond_locking' X-Git-Tag: v3.13-rc7~13^2~40 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=405a96d6ea2ed5fc0a8efa18bcf475faa95f9b96;p=~andy%2Flinux 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 Signed-off-by: David S. Miller --- 405a96d6ea2ed5fc0a8efa18bcf475faa95f9b96