summaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorzhang kai <zhangkaiheb@126.com>2021-06-02 09:50:39 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-02 13:28:05 -0700
commit7f0e869c4e3902abc44ae6a9c9fc4fba6867408e (patch)
tree1e994c9def5688bc615e0dfc10e60d48aab08cda /net/ipv6
parent011ab4dffe965c16c2ba27c0b97d42d41a97b4da (diff)
sit: replace 68 with micro IPV4_MIN_MTU
Use meaningfull micro IPV4_MIN_MTU Signed-off-by: zhang kai <zhangkaiheb@126.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/sit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index aa98294a3ad3..71b57bdb1519 100644
--- 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;