From: zhang kai Date: Wed, 2 Jun 2021 01:50:39 +0000 (+0800) Subject: sit: replace 68 with micro IPV4_MIN_MTU X-Git-Tag: v5.14-rc1~119^2~371 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f0e869c4e3902abc44ae6a9c9fc4fba6867408e;p=thirdparty%2Fkernel%2Flinux.git sit: replace 68 with micro IPV4_MIN_MTU Use meaningfull micro IPV4_MIN_MTU Signed-off-by: zhang kai Signed-off-by: David S. Miller --- diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index aa98294a3ad31..71b57bdb1519b 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;