diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2015-09-28 09:32:42 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-29 05:39:10 (GMT) |
commit | 06a15f51cf3618e32a73871ee6a547ef7fd902b5 (patch) | |
tree | 5d7f25db11b5b985c7366d8bf954aeca976f2b2b /net/sctp/associola.c | |
parent | 661dfc65f7981481ba2e31aaa702371e82336e56 (diff) | |
download | linux-06a15f51cf3618e32a73871ee6a547ef7fd902b5.tar.xz |
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