summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2017-10-13 21:09:33 -0400
committerDavid S. Miller <davem@davemloft.net>2017-10-14 18:51:51 -0700
commitcc72f3b1feb4fd38d33ab7a013d5ab95041cb8ba (patch)
tree4968a3d81d64f145e389a0bd45be40585b2f180b /scripts/objdiff
parent021570793d8cd86cb62ac038c535f4450586b454 (diff)
downloadkernel-cc72f3b1feb4fd38d33ab7a013d5ab95041cb8ba.tar.gz
bnxt_en: Fix possible corrupted NVRAM parameters from firmware response.
In bnxt_find_nvram_item(), it is copying firmware response data after releasing the mutex. This can cause the firmware response data to be corrupted if the next firmware response overwrites the response buffer. The rare problem shows up when running ethtool -i repeatedly. Fix it by calling the new variant _hwrm_send_message_silent() that requires the caller to take the mutex and to release it after the response data has been copied. Fixes: 3ebf6f0a09a2 ("bnxt_en: Add installed-package version reporting via Ethtool GDRVINFO") Reported-by: Sarveswara Rao Mygapula <sarveswararao.mygapula@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
a2'>virtio: tools: make it clear that virtqueue_add_buf() no longer returns > 0Rusty Russell 2012-12-06tools:virtio: fix compilation warningCong Ding 2012-09-28tools: Fix pthread flag for Makefile of trace-agent used by virtio-traceYoshihiro YUNOMAE 2012-09-28tools: Add guest trace agent as a user toolYoshihiro YUNOMAE 2012-05-02virtio/tools: add delayed interupt modeMichael S. Tsirkin 2012-02-28tools/virtio: stub out strong barriersMichael S. Tsirkin 2012-02-28tools/virtio: add linux/hrtimer.h stubMichael S. Tsirkin 2012-02-28tools/virtio: add linux/module.h stubMichael S. Tsirkin 2012-01-12virtio: rename virtqueue_add_buf_gfp to virtqueue_add_bufRusty Russell 2012-01-12virtio: harsher barriers for rpmsg.Rusty Russell 2011-05-30virtio_test: support event indexMichael S. Tsirkin