summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2015-09-28 11:32:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-27 09:51:48 +0900
commitd55cd294a22769515cfc3c97783669369fb4b111 (patch)
tree56fe9bf567ab536055890251a3dff66d9a99a15c /net/unix/af_unix.c
parent9cda65f34d0d0aed35effe37d9f85d6d9b5285fd (diff)
l2tp: protect tunnel->del_work by ref_count
[ Upstream commit 06a15f51cf3618e32a73871ee6a547ef7fd902b5 ] There is a small chance that tunnel_free() is called before tunnel->del_work scheduled resulting in a zero pointer dereference. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Acked-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions