diff options
author | Sean Tranchetti <[email protected]> | 2021-01-05 16:22:26 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-01-07 12:03:36 -0800 |
commit | 5316a7c0130acf09bfc8bb0092407006010fcccc (patch) | |
tree | 00e27b6f7337dfdedf57ce1bfb119b1764fa165b /scripts/gdb/linux/utils.py | |
parent | d8f5c29653c3f6995e8979be5623d263e92f6b86 (diff) |
tools: selftests: add test for changing routes with PTMU exceptions
Adds new 2 new tests to the PTMU script: pmtu_ipv4/6_route_change.
These tests explicitly test for a recently discovered problem in the
IPv6 routing framework where PMTU exceptions were not properly released
when replacing a route via "ip route change ...".
After creating PMTU exceptions, the route from the device A to R1 will be
replaced with a new route, then device A will be deleted. If the PMTU
exceptions were properly cleaned up by the kernel, this device deletion
will succeed. Otherwise, the unregistration of the device will stall, and
messages such as the following will be logged in dmesg:
unregister_netdevice: waiting for veth_A-R1 to become free. Usage count = 4
Signed-off-by: Sean Tranchetti <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions