summaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorTom Parkin <tparkin@katalix.com>2013-01-31 23:43:02 +0000
committerDavid S. Miller <davem@davemloft.net>2013-02-05 14:20:30 -0500
commitcbb95e0ca92869cc94a1c5e5ac58395afbbda26e (patch)
tree7e129315b5df29e6bbb9bc590c61f9f5b5e510b8 /net/packet
parentb6fdfdfab0c57d4a62359277c09258bc2f5a1550 (diff)
downloadlinux-cbb95e0ca92869cc94a1c5e5ac58395afbbda26e.tar.bz2
l2tp: prevent tunnel creation on netns mismatch
l2tp_tunnel_create is passed a pointer to the network namespace for the tunnel, along with an optional file descriptor for the tunnel which may be passed in from userspace via. netlink. In the case where the file descriptor is defined, ensure that the namespace associated with that socket matches the namespace explicitly passed to l2tp_tunnel_create. 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>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions