l2tp: don't BUG_ON sk_socket being NULL
authorTom Parkin <tparkin@katalix.com>
Tue, 19 Mar 2013 06:11:18 +0000 (06:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:10:39 +0000 (12:10 -0400)
commit02d13ed5f94af38c37d1abd53462fe48d78bcc9d
tree4685646061029ae3aba116410564cdad6da55e47
parent8abbbe8ff572fd84d1b98eb9acf30611a97cf72e
l2tp: don't BUG_ON sk_socket being NULL

It is valid for an existing struct sock object to have a NULL sk_socket
pointer, so don't BUG_ON in l2tp_tunnel_del_work if that should occur.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c