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
v3:
- update checking logic to account SCTP use case
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
selftests: net: add ESP-in-UDP PMTU test
net/ipv4/udp.c | 25 ++-
net/ipv6/udp.c | 25 ++-
tools/testing/selftests/net/nettest.c | 55 ++++++-
tools/testing/selftests/net/pmtu.sh | 212 +++++++++++++++++++++++++-
4 files changed, 298 insertions(+), 19 deletions(-)
--
2.18.4