summaryrefslogtreecommitdiffstats
path: root/init/do_mounts.c
diff options
context:
space:
mode:
authorSankar Patchineelam <sankar.patchineelam@broadcom.com>2017-10-13 21:09:34 -0400
committerDavid S. Miller <davem@davemloft.net>2017-10-14 18:51:51 -0700
commit5b1e1a9ce06fd94b563d6c3dd896589231995d89 (patch)
treeddddaea1adba2f60654baee595a6f80a98b6767f /init/do_mounts.c
parentcc72f3b1feb4fd38d33ab7a013d5ab95041cb8ba (diff)
downloadlinux-stable-5b1e1a9ce06fd94b563d6c3dd896589231995d89.tar.gz
linux-stable-5b1e1a9ce06fd94b563d6c3dd896589231995d89.tar.bz2
linux-stable-5b1e1a9ce06fd94b563d6c3dd896589231995d89.zip
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 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions