netfilter: Pass net into ip_route_me_harder
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ipv4: Push struct net down into nf_send_resetinclude/ net/ net/ +2 more | +5 | 0 replies | |
| 2/5 | netfilter: Push struct net down into nf_afinfo.rerouteinclude/ net/ net/ +1 more | +4 | 0 replies | |
| 3/5 | netfilter: ipt_SYNPROXY: Pass snet into synproxy_send_tcpnet/ | +9 | 0 replies | |
| 4/5 | ipv4: Pass struct net into ip_route_me_harderinclude/ net/ net/ +5 more | +11 | 0 replies | |
| 5/5 | ipv6: Pass struct net into ip6_route_me_harderinclude/ net/ net/ +3 more | +7 | 0 replies |
Reviews trailers per patch
None of the 5 patches has 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 A-b A-b A-b | A-b A-b |
| 1/5 | ||
| 2/5 | ||
| 3/5 | ||
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH next 0/5] netfilter: Pass net into ip_route_me_harder
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.
This round the focus is our getting struct net passed in, instead of guess in the netfilter functions that reroute packets (ip_route_me_harder, and ip6_route_me_harder). There is a bit more work on the ipv4 side as the ipv6 code on several of these code paths already passes in the struct net.
The changes are also available against nf-next at:git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/net-next.git master
My entire pending set of changes for those who want to look ahead is at:git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/net-next.git for-testing
Eric
Eric W. Biederman (5):
ipv4: Push struct net down into nf_send_reset
netfilter: Push struct net down into nf_afinfo.reroute
netfilter: ipt_SYNPROXY: Pass snet into synproxy_send_tcp
ipv4: Pass struct net into ip_route_me_harder
ipv6: Pass struct net into ip6_route_me_harder
include/linux/netfilter.h | 2 +- include/linux/netfilter_ipv4.h | 2 +- include/linux/netfilter_ipv6.h | 2 +- include/net/netfilter/ipv4/nf_reject.h | 2 +- net/ipv4/netfilter.c | 7 +++---- net/ipv4/netfilter/ipt_REJECT.c | 2 +- net/ipv4/netfilter/ipt_SYNPROXY.c | 20 ++++++++++++-------- net/ipv4/netfilter/iptable_mangle.c | 2 +- net/ipv4/netfilter/nf_nat_l3proto_ipv4.c | 2 +- net/ipv4/netfilter/nf_reject_ipv4.c | 4 ++-- net/ipv4/netfilter/nft_chain_route_ipv4.c | 2 +- net/ipv4/netfilter/nft_reject_ipv4.c | 2 +- net/ipv6/netfilter.c | 7 +++---- net/ipv6/netfilter/ip6table_mangle.c | 2 +- net/ipv6/netfilter/nf_nat_l3proto_ipv6.c | 2 +- net/ipv6/netfilter/nft_chain_route_ipv6.c | 2 +- net/netfilter/ipvs/ip_vs_core.c | 4 ++-- net/netfilter/nf_queue.c | 2 +- net/netfilter/nft_reject_inet.c | 2 +- 19 files changed, 36 insertions(+), 34 deletions(-)