diff options
author | Hoang Le <hoang.h.le@dektech.com.au> | 2020-03-13 06:18:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-15 10:07:00 +0300 |
commit | 746a1eda682cb7b5cd22f1b437da2121af64fbfe (patch) | |
tree | 2cbd7efd493149d7403b5eb8ce615ec63b6c38cf /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e228c5c0882e809e4fb3eafd07ec25ff50f65ac5 (diff) | |
download | linux-746a1eda682cb7b5cd22f1b437da2121af64fbfe.tar.xz |
tipc: add NULL pointer check to prevent kernel oops
Calling:
tipc_node_link_down()->
- tipc_node_write_unlock()->tipc_mon_peer_down()
- tipc_mon_peer_down()
just after disabling bearer could be caused kernel oops.
Fix this by adding a sanity check to make sure valid memory
access.
Acked-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions