summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2023-10-24 13:02:03 +0300
committerPaolo Abeni <pabeni@redhat.com>2023-10-24 13:02:04 +0300
commitcd8892c07876da0c4b50e020048a32a28596a074 (patch)
tree806e7aac4724a7907dcdb16e650adde1508bb070 /include
parent9644bc49705723bf7c69aa9bf542bb5161b91dba (diff)
parent4530e5b8e2dad63dcad2206232dd86e4b1489b6c (diff)
downloadlinux-cd8892c07876da0c4b50e020048a32a28596a074.tar.xz
Merge branch 'gtp-tunnel-driver-fixes'
Pablo Neira Ayuso says: ==================== GTP tunnel driver fixes The following patchset contains two fixes for the GTP tunnel driver: 1) Incorrect GTPA_MAX definition in UAPI headers. This is updating an existing UAPI definition but for a good reason, this is certainly broken. Similar fixes for incorrect _MAX definition in netlink headers were applied in the past too. 2) Fix GTP driver PMTU with GRO packets, add missing call to skb_gso_validate_network_len() to handle GRO packets. ==================== Link: https://lore.kernel.org/r/20231022202519.659526-1-pablo@netfilter.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/gtp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/gtp.h b/include/uapi/linux/gtp.h
index 2f61298a7b77..3dcdb9e33cba 100644
--- a/include/uapi/linux/gtp.h
+++ b/include/uapi/linux/gtp.h
@@ -33,6 +33,6 @@ enum gtp_attrs {
GTPA_PAD,
__GTPA_MAX,
};
-#define GTPA_MAX (__GTPA_MAX + 1)
+#define GTPA_MAX (__GTPA_MAX - 1)
#endif /* _UAPI_LINUX_GTP_H_ */