diff options
author | Sankar Patchineelam <sankar.patchineelam@broadcom.com> | 2017-10-14 04:09:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-15 04:51:51 +0300 |
commit | 5b1e1a9ce06fd94b563d6c3dd896589231995d89 (patch) | |
tree | ddddaea1adba2f60654baee595a6f80a98b6767f /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | cc72f3b1feb4fd38d33ab7a013d5ab95041cb8ba (diff) | |
download | linux-5b1e1a9ce06fd94b563d6c3dd896589231995d89.tar.xz |
bnxt_en: Fix possible corruption in DCB parameters from firmware.
hwrm_send_message() is replaced with _hwrm_send_message(), and
hwrm_cmd_lock mutex lock is grabbed for the whole period of
firmware call until the firmware DCB parameters have been copied.
This will prevent possible corruption of the firmware data.
Fixes: 7df4ae9fe855 ("bnxt_en: Implement DCBNL to support host-based DCBX.")
Signed-off-by: Sankar Patchineelam <sankar.patchineelam@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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions