OSDN Git Service

gtp: clear DF bit on GTP packet tx
authorAndreas Schultz <aschultz@tpip.net>
Fri, 27 Jan 2017 09:40:57 +0000 (10:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Dec 2017 21:01:54 +0000 (22:01 +0100)
commitd812be8288325ea28297e6bbbd8afb24b7d80f65
treef9280db1e892485923d2d82593bae5e697d99aa3
parent3976dd677e891c0b2c63d08028d445663539472c
gtp: clear DF bit on GTP packet tx

[ Upstream commit c6ce1d08eede4c2968ed08aafa3165e8e183c5a1 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/gtp.c