diff options
author | 2020-07-11 20:48:23 -0400 | |
---|---|---|
committer | 2020-07-12 15:29:01 -0700 | |
commit | 163e9ef63641a02de4c95cd921577265c52e1ce2 (patch) | |
tree | ab084ca67dd46a64803fb8461327328ba0e5d1cc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'libnvdimm-fix-v5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm (diff) | |
download | linux-rng-163e9ef63641a02de4c95cd921577265c52e1ce2.tar.xz linux-rng-163e9ef63641a02de4c95cd921577265c52e1ce2.zip |
bnxt_en: Fix race when modifying pause settings.
The driver was modified to not rely on rtnl lock to protect link
settings about 2 years ago. The pause setting was missed when
making that change. Fix it by acquiring link_lock mutex before
calling bnxt_hwrm_set_pause().
Fixes: e2dc9b6e38fa ("bnxt_en: Don't use rtnl lock to protect link change logic in workqueue.")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions