Skip to content

Commit c6ce1d0

Browse files
Andreas Schultzdavem330
authored andcommitted
gtp: clear DF bit on GTP packet tx
3GPP TS 29.281 and 3GPP TS 29.060 imply that GTP-U packets should be sent with the DF bit cleared. For example 3GPP TS 29.060, Release 8, Section 13.2.2: > Backbone router: Any router in the backbone may fragment the GTP > packet if needed, according to IPv4. Signed-off-by: Andreas Schultz <aschultz@tpip.net> Acked-by: Harald Welte <laforge@netfilter.org> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ab72982 commit c6ce1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/gtp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ static netdev_tx_t gtp_dev_xmit(struct sk_buff *skb, struct net_device *dev)
612612
pktinfo.fl4.saddr, pktinfo.fl4.daddr,
613613
pktinfo.iph->tos,
614614
ip4_dst_hoplimit(&pktinfo.rt->dst),
615-
htons(IP_DF),
615+
0,
616616
pktinfo.gtph_port, pktinfo.gtph_port,
617617
true, false);
618618
break;

0 commit comments

Comments
 (0)