diff options
author | 2020-09-20 21:08:56 -0400 | |
---|---|---|
committer | 2020-09-20 19:04:44 -0700 | |
commit | a53906908148d64423398a62c4435efb0d09652c (patch) | |
tree | df313d38d440e3bae2826770dc59b61cb7b46eba /net/switchdev/switchdev.c | |
parent | bnxt_en: return proper error codes in bnxt_show_temp (diff) | |
download | wireguard-linux-a53906908148d64423398a62c4435efb0d09652c.tar.xz wireguard-linux-a53906908148d64423398a62c4435efb0d09652c.zip |
bnxt_en: Protect bnxt_set_eee() and bnxt_set_pauseparam() with mutex.
All changes related to bp->link_info require the protection of the
link_lock mutex. It's not sufficient to rely just on RTNL.
Fixes: 163e9ef63641 ("bnxt_en: Fix race when modifying pause settings.")
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions