From: Stefano Brivio <sbrivio@redhat.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: Sabrina Dubroca <sd@queasysnail.net>,
Xin Long <lucien.xin@gmail.com>,
netdev@vger.kernel.org
Subject: [PATCH net-next 00/11] ICMP error handling for UDP tunnels
Date: Tue, 6 Nov 2018 22:38:56 +0100 [thread overview]
Message-ID: <cover.1541533786.git.sbrivio@redhat.com> (raw)
This series introduces ICMP error handling for UDP tunnels and
encapsulations and related selftests. We need to handle ICMP errors to
support PMTU discovery and route redirection -- this support is entirely
missing right now:
- patch 1/11 adds a socket lookup for UDP tunnels that use, by design,
the same destination port on both endpoints -- i.e. VxLAN and GENEVE
- patches 2/11 to 7/11 are specific to VxLAN and GENEVE
- patches 8/11 and 9/11 add infrastructure for lookup of encapsulations
where sent packets cannot be matched via receiving socket lookup, i.e.
FoU and GUE
- patches 10/11 and 11/11 are specific to FoU and GUE
Stefano Brivio (11):
udp: Handle ICMP errors for tunnels with same destination port on both
endpoints
vxlan: ICMP error lookup handler
vxlan: Allow configuration of DF behaviour
selftests: pmtu: Introduce tests for IPv4/IPv6 over VxLAN over IPv6
geneve: ICMP error lookup handler
geneve: Allow configuration of DF behaviour
selftests: pmtu: Introduce tests for IPv4/IPv6 over GENEVE over IPv6
net: Convert protocol error handlers from void to int
udp: Support for error handlers of tunnels with arbitrary destination
port
fou, fou6: ICMP error handlers for FoU and GUE
selftests: pmtu: Introduce FoU and GUE PMTU exceptions tests
drivers/net/geneve.c | 104 ++++++++-
drivers/net/vxlan.c | 58 +++++
include/linux/udp.h | 1 +
include/net/icmp.h | 2 +-
include/net/ip6_tunnel.h | 2 +
include/net/ip_tunnels.h | 1 +
include/net/protocol.h | 9 +-
include/net/sctp/sctp.h | 2 +-
include/net/tcp.h | 2 +-
include/net/udp.h | 2 +-
include/net/udp_tunnel.h | 3 +
include/net/vxlan.h | 1 +
include/uapi/linux/if_link.h | 18 ++
net/dccp/ipv4.c | 13 +-
net/dccp/ipv6.c | 13 +-
net/ipv4/fou.c | 68 ++++++
net/ipv4/gre_demux.c | 9 +-
net/ipv4/icmp.c | 6 +-
net/ipv4/ip_gre.c | 48 ++--
net/ipv4/ipip.c | 14 +-
net/ipv4/protocol.c | 1 +
net/ipv4/tcp_ipv4.c | 22 +-
net/ipv4/tunnel4.c | 18 +-
net/ipv4/udp.c | 119 ++++++++--
net/ipv4/udp_impl.h | 2 +-
net/ipv4/udp_tunnel.c | 1 +
net/ipv4/udplite.c | 4 +-
net/ipv4/xfrm4_protocol.c | 18 +-
net/ipv6/fou6.c | 74 +++++++
net/ipv6/icmp.c | 4 +-
net/ipv6/ip6_gre.c | 18 +-
net/ipv6/tcp_ipv6.c | 13 +-
net/ipv6/tunnel6.c | 12 +-
net/ipv6/udp.c | 141 ++++++++++--
net/ipv6/udp_impl.h | 4 +-
net/ipv6/udplite.c | 5 +-
net/ipv6/xfrm6_protocol.c | 18 +-
net/sctp/input.c | 5 +-
net/sctp/ipv6.c | 7 +-
tools/testing/selftests/net/pmtu.sh | 326 ++++++++++++++++++++++++++--
40 files changed, 1025 insertions(+), 163 deletions(-)
--
2.19.1
next reply other threads:[~2018-11-07 7:06 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-06 21:38 Stefano Brivio [this message]
2018-11-06 21:38 ` [PATCH net-next 01/11] udp: Handle ICMP errors for tunnels with same destination port on both endpoints Stefano Brivio
2018-11-06 23:25 ` David Miller
2018-11-06 21:38 ` [PATCH net-next 02/11] vxlan: ICMP error lookup handler Stefano Brivio
2018-11-06 21:38 ` [PATCH net-next 03/11] vxlan: Allow configuration of DF behaviour Stefano Brivio
2018-11-07 5:00 ` Stephen Hemminger
2018-11-07 10:35 ` Stefano Brivio
2018-11-06 21:39 ` [PATCH net-next 04/11] selftests: pmtu: Introduce tests for IPv4/IPv6 over VxLAN over IPv6 Stefano Brivio
2018-11-07 19:28 ` David Ahern
2018-11-07 19:48 ` David Miller
2018-11-07 19:54 ` Stefano Brivio
2018-11-06 21:39 ` [PATCH net-next 05/11] geneve: ICMP error lookup handler Stefano Brivio
2018-11-06 21:39 ` [PATCH net-next 06/11] geneve: Allow configuration of DF behaviour Stefano Brivio
2018-11-06 21:39 ` [PATCH net-next 07/11] selftests: pmtu: Introduce tests for IPv4/IPv6 over GENEVE over IPv6 Stefano Brivio
2018-11-07 19:28 ` David Ahern
2018-11-06 21:39 ` [PATCH net-next 08/11] net: Convert protocol error handlers from void to int Stefano Brivio
2018-11-06 21:39 ` [PATCH net-next 09/11] udp: Support for error handlers of tunnels with arbitrary destination port Stefano Brivio
2018-11-06 23:26 ` David Miller
2018-11-06 21:39 ` [PATCH net-next 10/11] fou, fou6: ICMP error handlers for FoU and GUE Stefano Brivio
2018-11-06 21:39 ` [PATCH net-next 11/11] selftests: pmtu: Introduce FoU and GUE PMTU exceptions tests Stefano Brivio
2018-11-06 23:24 ` [PATCH net-next 00/11] ICMP error handling for UDP tunnels David Miller
2018-11-07 11:09 ` Jiri Benc
2018-11-07 15:21 ` Stefano Brivio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1541533786.git.sbrivio@redhat.com \
--to=sbrivio@redhat.com \
--cc=davem@davemloft.net \
--cc=lucien.xin@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=sd@queasysnail.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).