summaryrefslogtreecommitdiffstats
path: root/net/sctp/associola.c
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2015-09-28 11:32:42 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-28 22:39:10 -0700
commit06a15f51cf3618e32a73871ee6a547ef7fd902b5 (patch)
tree5d7f25db11b5b985c7366d8bf954aeca976f2b2b /net/sctp/associola.c
parent661dfc65f7981481ba2e31aaa702371e82336e56 (diff)
downloadlinux-06a15f51cf3618e32a73871ee6a547ef7fd902b5.tar.bz2
l2tp: protect tunnel->del_work by ref_count
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>
Diffstat (limited to 'net/sctp/associola.c')
0 files changed, 0 insertions, 0 deletions