diff options
| author | Dan Carpenter <[email protected]> | 2018-01-09 20:03:46 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2018-01-10 21:48:09 +0000 |
| commit | 57194fa763bfa1a0908f30d4c77835beaa118fcb (patch) | |
| tree | 5c5adaa5b07c08e423a32d8d1d1f1f270c16b89a /net/tipc/node.c | |
| parent | iser-target: Fix possible use-after-free in connection establishment error (diff) | |
| download | kernel-57194fa763bfa1a0908f30d4c77835beaa118fcb.tar.gz kernel-57194fa763bfa1a0908f30d4c77835beaa118fcb.zip | |
IB/hfi1: Prevent a NULL dereference
In the original code, we set "fd->uctxt" to NULL and then dereference it
which will cause an Oops.
Fixes: f2a3bc00a03c ("IB/hfi1: Protect context array set/clear with spinlock")
Cc: <[email protected]> # 4.14.x
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Michael J. Ruhl <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
