Skip to content

net: Pass net through ip fragmention

Eric W. Biederman lvs-devel netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6openvswitch: Pass net into ovs_vport_outputnet/openvswitch/actions.c+8 -31 reply
2/6openvswitch: Pass net into ovs_fragmentnet/openvswitch/actions.c+4 -33 replies
3/6ipv4: Pass struct net through ip_fragmentinclude/net/ip.h net/bridge/br_netfilter_hooks.c net/ipv4/ip_output.c +1 more+26 -300 replies
4/6ipv6: Pass struct net through ip6_fragmentinclude/linux/netfilter_ipv6.h include/net/ip6_route.h net/bridge/br_netfilter_hooks.c +3 more+21 -172 replies
5/6bridge: Remove br_nf_push_frag_xmit_sknet/bridge/br_netfilter_hooks.c+0 -50 replies
6/6openvswitch: Remove ovs_vport_output_sknet/openvswitch/actions.c+0 -50 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNicolas DichtelPablo Neira Ayuso
SeriesA-b A-b A-b A-b A-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/6] net: Pass net through ip fragmention

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 focuses on passing net through ip fragmentation which we seem to call from about everywhere. That is the main ip output paths, the bridge netfilter code, and openvswitch. This has to happend at once accross the tree as function pointers are involved.

First some prep work is done, then ipv4 and ipv6 are converted and then temporary helper functions are removed.

The changes are also available against nf-next at:
git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/net-next.git master

Eric

Eric W. Biederman (6):
openvswitch: Pass net into ovs_vport_output
openvswitch: Pass net into ovs_fragment
ipv4: Pass struct net through ip_fragment
ipv6: Pass struct net through ip6_fragment
bridge: Remove br_nf_push_frag_xmit_sk
openvswitch: Remove ovs_vport_output_sk

 include/linux/netfilter_ipv6.h  |  4 ++--
 include/net/ip.h                |  4 ++--
 include/net/ip6_route.h         |  4 ++--
 net/bridge/br_netfilter_hooks.c | 13 ++++--------
 net/ipv4/ip_output.c            | 44 +++++++++++++++++++----------------------
 net/ipv6/ip6_output.c           | 16 +++++++--------
 net/ipv6/xfrm6_output.c         | 10 ++++++++--
 net/openvswitch/actions.c       | 13 ++++++------
 8 files changed, 52 insertions(+), 56 deletions(-)