mbox series

[net,v2,0/2] Fix PMTU for ESP-in-UDP encapsulation

Message ID 20210716105417.7938-1-vfedorenko@novek.ru (mailing list archive)
Headers show
Series Fix PMTU for ESP-in-UDP encapsulation | expand

Message

Vadim Fedorenko July 16, 2021, 10:54 a.m. UTC
Bug 213669 uncovered regression in PMTU discovery for UDP-encapsulated
routes and some incorrect usage in udp tunnel fields. This series fixes
problems and also adds such case for selftests

v2:
 - remove refactor code that was in first patch
 - move checking logic to __udp{4,6}_lib_err_encap
 - add more tests, especially routed configuration

Vadim Fedorenko (2):
  udp: check encap socket in __udp_lib_err_encap
  selftests: net: add ESP-in-UDP PMTU test

 net/ipv4/udp.c                        |  23 ++-
 net/ipv6/udp.c                        |  23 ++-
 tools/testing/selftests/net/nettest.c |  55 ++++++-
 tools/testing/selftests/net/pmtu.sh   | 212 +++++++++++++++++++++++++-
 4 files changed, 294 insertions(+), 19 deletions(-)