aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorXi Wang <[email protected]>2018-05-25 19:43:00 +0100
committerDavid S. Miller <[email protected]>2018-05-29 00:04:26 -0400
commit7c4bfcb0556bc8e1cd86b25db0a5058b49f5a085 (patch)
tree98610bccea12ad1d6bd246503aa24e8f8ad474a5 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent96c0e8614eba889d8beb00e9d74168c1c607908b (diff)
net: hns3: Fix for PF mailbox receving unknown message
Before the firmware updates the crq's tail pointer, if the PF driver reads the data in the crq, the data may be incomplete at this time, which will lead to the driver read an unknown message. This patch fixes it by checking if crq is not empty before reading the message. Fixes: c1a81619d73a ("net: hns3: Add mailbox interrupt handling to PF driver") Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: Salil Mehta <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions