diff options
| author | 2019-12-11 08:23:48 +0000 | |
|---|---|---|
| committer | 2019-12-14 17:15:24 -0800 | |
| commit | 6a902c0f31993ab02e1b6ea7085002b9c9083b6a (patch) | |
| tree | 0c3c21f1217705dad14aecd5de3c69715fc70760 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | gtp: fix an use-after-free in ipv4_pdp_find() (diff) | |
gtp: avoid zero size hashtable
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: 459aa660eb1d ("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>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
