Skip to content
Commit 3ab1b469 authored by Andreas Schultz's avatar Andreas Schultz Committed by David S. Miller
Browse files

gtp: fix cross netns recv on gtp socket



The use of the passed through netlink src_net to check for a
cross netns operation was wrong. Using the GTP socket and the
GTP netdevice is always correct (even if the netdev has been
moved to new netns after link creation).

Remove the now obsolete net field from gtp_dev.

Signed-off-by: default avatarAndreas Schultz <aschultz@tpip.net>
Acked-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c6ce1d08
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