Files
linux/drivers/net
Taehee Yoo a71a3c468c gtp: avoid zero size hashtable
[ Upstream commit 6a902c0f31 ]

GTP default hashtable size is 1024 and userspace could set specific
hashtable size with IFLA_GTP_PDP_HASHSIZE. If hashtable size is set to 0
from userspace,  hashtable will not work and panic will occur.

Fixes: 459aa660eb ("gtp: add initial driver for datapath of GPRS Tunneling Protocol (GTP-U)")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 16:21:57 +09:00
..
2016-06-15 22:06:06 -07:00
2023-05-15 14:32:27 +09:00
2023-05-15 14:28:27 +09:00
2023-05-15 16:21:57 +09:00
2016-05-09 00:00:28 -04:00
2018-03-22 09:17:57 +01:00