projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
011ab4d
)
sit: replace 68 with micro IPV4_MIN_MTU
author
zhang kai
<zhangkaiheb@126.com>
Wed, 2 Jun 2021 01:50:39 +0000
(09:50 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 2 Jun 2021 20:28:05 +0000
(13:28 -0700)
Use meaningfull micro IPV4_MIN_MTU
Signed-off-by: zhang kai <zhangkaiheb@126.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c
patch
|
blob
|
history
diff --git
a/net/ipv6/sit.c
b/net/ipv6/sit.c
index
aa98294
..
71b57bd
100644
(file)
--- a/
net/ipv6/sit.c
+++ b/
net/ipv6/sit.c
@@
-970,7
+970,7
@@
static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb,
if (df) {
mtu = dst_mtu(&rt->dst) - t_hlen;
- if (mtu <
68
) {
+ if (mtu <
IPV4_MIN_MTU
) {
dev->stats.collisions++;
ip_rt_put(rt);
goto tx_error;