aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorHoang Le <[email protected]>2020-03-13 10:18:03 +0700
committerDavid S. Miller <[email protected]>2020-03-15 00:07:00 -0700
commit746a1eda682cb7b5cd22f1b437da2121af64fbfe (patch)
tree2cbd7efd493149d7403b5eb8ce615ec63b6c38cf /tools/lib/api/debug.c
parente228c5c0882e809e4fb3eafd07ec25ff50f65ac5 (diff)
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 <[email protected]> Signed-off-by: Hoang Le <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions