net: Pass net into defragmentation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ipv4: Only compute net once in ip_call_ra_chainnet/ | +2 | 0 replies | |
| 2/3 | ipv4: Pass struct net into ip_defrag and ip_check_defragdrivers/ include/ net/ +5 more | +20 | 1 reply | |
| 3/3 | ipv6: Pass struct net into nf_ct_frag6_gatherinclude/ net/ net/ +1 more | +5 | 1 reply |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Nicolas Dichtel | Pablo Neira Ayuso |
|---|---|---|
| Series | A-b | |
| 1/3 | ||
| 2/3 | A-b | |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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(-)