diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2015-09-28 11:32:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-27 09:45:53 +0900 |
commit | 91f536c1fa37c84e4771d28b1aee198cd08a41c5 (patch) | |
tree | 9a9e41ad33f154351ae5dc1ab850ec39c4089188 /net/unix/af_unix.c | |
parent | 67e128d68505fa37da2b9ae6b532f11db1624a2f (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