diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-10-22 16:48:25 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-29 11:24:08 -0700 |
commit | 7515e37bce5c428a56a9b04ea7e96b3f53f17150 (patch) | |
tree | c279a81ea4f771714b18b7fb8c3bf77307ea6bae /tools | |
parent | 01e215975fd80af81b5b79f009d49ddd35976c13 (diff) | |
download | lwn-7515e37bce5c428a56a9b04ea7e96b3f53f17150.tar.gz lwn-7515e37bce5c428a56a9b04ea7e96b3f53f17150.zip |
gtp: allow -1 to be specified as file description from userspace
Existing user space applications maintained by the Osmocom project are
breaking since a recent fix that addresses incorrect error checking.
Restore operation for user space programs that specify -1 as file
descriptor to skip GTPv0 or GTPv1 only sockets.
Fixes: defd8b3c37b0 ("gtp: fix a potential NULL pointer dereference")
Reported-by: Pau Espin Pedrol <pespin@sysmocom.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Tested-by: Oliver Smith <osmith@sysmocom.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241022144825.66740-1-pablo@netfilter.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions