This series fixes mtu and fragmentation for tunnels using lwtunnel
output redirect, and fixes GSO for MPLS for locally originated traffic
reported by Lennert Buytenhek.
A follow on series will address fragmentation and GSO for forwarded
MPLS traffic. Hardware offload of GSO with MPLS also needs to be
addressed.
Simon: Can you verify this works with OVS for single and multiple
labels?
v4
- more updates to mpls_gso_segment per Alex's comments (thanks, Alex)
- updates to teaching OVS about marking MPLS labels as the network header
v3
- updates to mpls_gso_segment per Alex's comments
- dropped skb->encapsulation = 1 from mpls_xmit per Alex's comment
v2
- consistent use of network_header in skb to fix GSO for MPLS
- update MPLS code in OVS to network_header and inner_network_header
David Ahern (2):
net: mpls: Fixups for GSO
net: veth: Set features for MPLS
Roopa Prabhu (1):
net: lwtunnel: Handle fragmentation
drivers/net/veth.c | 1 +
include/net/lwtunnel.h | 44 ++++++++++++++++++++++++++++++++++++++++++++
net/core/lwtunnel.c | 35 +++++++++++++++++++++++++++++++++++
net/ipv4/ip_output.c | 8 ++++++++
net/ipv4/route.c | 4 +++-
net/ipv6/ip6_output.c | 8 ++++++++
net/ipv6/route.c | 4 +++-
net/mpls/mpls_gso.c | 40 +++++++++++++++++++++++++++++-----------
net/mpls/mpls_iptunnel.c | 13 +++++++++----
net/openvswitch/actions.c | 9 +++++++--
10 files changed, 147 insertions(+), 19 deletions(-)
--
2.1.4