commit | 8abbbe8ff572fd84d1b98eb9acf30611a97cf72e | [log] [tgz] |
---|---|---|
author | Tom Parkin <tparkin@katalix.com> | Tue Mar 19 06:11:17 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 20 12:10:38 2013 -0400 |
tree | b0ad882a2b2fca7777d01bbbe873da57e1c42609 | |
parent | 2b551c6e7d5bca2c78c216b15ef675653d4f459a [diff] |
l2tp: take a reference for kernel sockets in l2tp_tunnel_sock_lookup When looking up the tunnel socket in struct l2tp_tunnel, hold a reference whether the socket was created by the kernel or by userspace. 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>