[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87fv1jyjcj.fsf_-_@x220.int.ebiederm.org>
Date: Fri, 09 Oct 2015 13:42:20 -0500
From: ebiederm@...ssion.com (Eric W. Biederman)
To: David Miller <davem@...emloft.net>
Cc: <netdev@...r.kernel.org>, netfilter-devel@...r.kernel.org,
Nicolas Dichtel <nicolas.dichtel@...nd.com>
Subject: [PATCH net-next 0/3] net: Pass net into defragmentation
This is the next installment of my work to pass struct net through the
output path so the code does not need to guess how to figure out which
network namespace it is in, and ultimately routes can have output
devices in another network namespace.
In netfilter and af_packet we defragment packets in the output path,
and there is the usual amount of confusion about how to compute which
net we are processing the packets in. This patchset clears that
confusion up by explicitly passing in struct net in ip_defrag,
ip_check_defrag, and nf_ct_frag6_gather.
The changes are also available against net-next at:
git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/net-next.git master
Eric
Eric W. Biederman (3):
ipv4: Only compute net once in ip_call_ra_chain
ipv4: Pass struct net into ip_defrag and ip_check_defrag
ipv6: Pass struct net into nf_ct_frag6_gather
drivers/net/macvlan.c | 2 +-
include/net/ip.h | 6 +++---
include/net/netfilter/ipv6/nf_defrag_ipv6.h | 2 +-
net/ipv4/ip_fragment.c | 7 +++----
net/ipv4/ip_input.c | 10 ++++++----
net/ipv4/netfilter/nf_defrag_ipv4.c | 7 ++++---
net/ipv6/netfilter/nf_conntrack_reasm.c | 4 +---
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c | 3 ++-
net/netfilter/ipvs/ip_vs_core.c | 2 +-
net/openvswitch/conntrack.c | 4 ++--
net/packet/af_packet.c | 6 +++---
11 files changed, 27 insertions(+), 26 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists