mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
gtp: uapi: fix GTPA_MAX
[ Upstream commit adc8df12d91a2b8350b0cd4c7fec3e8546c9d1f8 ] Subtract one to __GTPA_MAX, otherwise GTPA_MAX is off by 2. Fixes: 459aa660eb1d ("gtp: add initial driver for datapath of GPRS Tunneling Protocol (GTP-U)") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
3b5eb92c09
commit
c6fc37a301
@ -30,6 +30,6 @@ enum gtp_attrs {
|
|||||||
GTPA_PAD,
|
GTPA_PAD,
|
||||||
__GTPA_MAX,
|
__GTPA_MAX,
|
||||||
};
|
};
|
||||||
#define GTPA_MAX (__GTPA_MAX + 1)
|
#define GTPA_MAX (__GTPA_MAX - 1)
|
||||||
|
|
||||||
#endif /* _UAPI_LINUX_GTP_H_ */
|
#endif /* _UAPI_LINUX_GTP_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user