diff options
| author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2017-06-15 07:50:08 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-06-15 21:29:00 +0300 |
| commit | 1cf9cc72bd7024af69419b5adee42c39ad4caf6f (patch) | |
| tree | 2e4f85e0094e33f2b5705f89111af791894a6513 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | c8b2ad0a4a9015228874708f83a17b7bdb194f84 (diff) | |
| download | linux-1cf9cc72bd7024af69419b5adee42c39ad4caf6f.tar.xz | |
ibmvnic: Remove VNIC_CLOSING check from pending_scrq
Fix a kernel panic resulting from data access of a NULL
pointer during device close. The pending_scrq routine is
meant to determine whether there is a valid sub-CRQ message
awaiting processing. When the device is closing, however,
there is a possibility that NULL messages can be processed
because pending_scrq will always return 1 even if there
no valid message in the queue.
It's not clear what this closing state check was originally
meant to accomplish, so just remove it.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
