Skip to content
Commit 06a15f51 authored by Alexander Couzens's avatar Alexander Couzens Committed by David S. Miller
Browse files

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: default avatarAlexander Couzens <lynxis@fe80.eu>
Acked-by: default avatarJames Chapman <jchapman@katalix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 661dfc65
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment