diff options
author | Andreas Schultz <aschultz@tpip.net> | 2017-01-27 10:40:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-27 16:39:09 +0100 |
commit | c6ce1d08eede4c2968ed08aafa3165e8e183c5a1 (patch) | |
tree | f8c7c4c0b9933365985a620929110f34140c9591 /drivers/net | |
parent | gtp: add genl family modules alias (diff) | |
download | linux-c6ce1d08eede4c2968ed08aafa3165e8e183c5a1.tar.xz linux-c6ce1d08eede4c2968ed08aafa3165e8e183c5a1.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/gtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c index 7580ccc50e1d..1df54d626f20 100644 --- a/drivers/net/gtp.c +++ b/drivers/net/gtp.c @@ -612,7 +612,7 @@ static netdev_tx_t gtp_dev_xmit(struct sk_buff *skb, struct net_device *dev) pktinfo.fl4.saddr, pktinfo.fl4.daddr, pktinfo.iph->tos, ip4_dst_hoplimit(&pktinfo.rt->dst), - htons(IP_DF), + 0, pktinfo.gtph_port, pktinfo.gtph_port, true, false); break; |