diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2020-07-11 20:48:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-12 15:29:01 -0700 |
commit | 163e9ef63641a02de4c95cd921577265c52e1ce2 (patch) | |
tree | ab084ca67dd46a64803fb8461327328ba0e5d1cc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1df0d8960499e58963fd6c8ac75e544f2b417b29 (diff) |
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