projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36207b
)
selftests: pmtu: Minimum MTU for vti6 is 68
author
Stefano Brivio
<
[email protected]
>
Thu, 26 Apr 2018 17:41:02 +0000
(19:41 +0200)
committer
David S. Miller
<
[email protected]
>
Fri, 27 Apr 2018 18:33:19 +0000
(14:33 -0400)
A vti6 interface can carry IPv4 packets too.
Signed-off-by: Stefano Brivio <
[email protected]
>
Reviewed-by: Xin Long <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
tools/testing/selftests/net/pmtu.sh
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/net/pmtu.sh
b/tools/testing/selftests/net/pmtu.sh
index 1e428781a625b88b23105c4142223a7211399846..7651fd4d86fe0a793f43c9d34b54b793d84e6c2d 100755
(executable)
--- a/
tools/testing/selftests/net/pmtu.sh
+++ b/
tools/testing/selftests/net/pmtu.sh
@@
-368,7
+368,7
@@
test_pmtu_vti6_link_add_mtu() {
fail=0
- min=
1280
+ min=
68 # vti6 can carry IPv4 packets too
max=$((65535 - 40))
# Check invalid values first
for v in $((min - 1)) $((max + 1)); do
@@
-384,7
+384,7
@@
test_pmtu_vti6_link_add_mtu() {
done
# Now check valid values
- for v in 1280 1300 $((65535 - 40)); do
+ for v in
68
1280 1300 $((65535 - 40)); do
${ns_a} ip link add vti6_a mtu ${v} type vti6 local ${veth6_a_addr} remote ${veth6_b_addr} key 10
mtu="$(link_get_mtu "${ns_a}" vti6_a)"
${ns_a} ip link del vti6_a