Taehee Yoo
3db5dee970
gtp: avoid zero size hashtable
...
[ Upstream commit 6a902c0f31993ab02e1b6ea7085002b9c9083b6a ]
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>
2020-01-04 13:41:15 +01:00
..
appletalk
net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT
2018-09-29 03:07:32 -07:00
arcnet
arcnet: provide a buffer big enough to actually receive packets
2019-10-05 12:30:12 +02:00
bonding
bonding: fix unexpected IFF_BONDING bit unset
2019-11-12 19:15:58 +01:00
caif
caif-hsi: fix possible deadlock in cfhsi_exit_module()
2019-08-04 09:33:33 +02:00
can
can: slcan: Fix use-after-free Read in slcan_open
2019-12-21 10:41:36 +01:00
cris
dsa
net: dsa: bcm_sf2: Propagate error value from mdio_write
2019-12-05 15:34:58 +01:00
ethernet
net: ena: fix napi handler misbehavior when the napi budget is zero
2020-01-04 13:41:11 +01:00
fddi
fjes
fjes: fix missed check in fjes_acpi_add
2020-01-04 13:40:16 +01:00
hamradio
6pack,mkiss: fix possible deadlock
2020-01-04 13:41:07 +01:00
hippi
hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close
2018-02-25 11:05:50 +01:00
hyperv
hv_netvsc: Fix IP header checksum for coalesced packets
2019-03-13 14:04:53 -07:00
ieee802154
ieee802154: atusb: fix use-after-free at disconnect
2019-10-17 13:42:07 -07:00
ipvlan
ipvlan: disallow userns cap_net_admin to change global mode/flags
2019-03-19 13:14:10 +01:00
irda
irda: vlsi_ir: fix check for DMA mapping errors
2017-12-25 14:23:41 +01:00
phy
net: phy: initialise phydev speed and duplex sanely
2020-01-04 13:40:08 +01:00
plip
ppp
ppp: Fix memory leak in ppp_write
2019-10-05 12:30:13 +02:00
slip
slip: Fix use-after-free Read in slip_open
2019-12-05 15:35:27 +01:00
team
team: Add vlan tx offload to hw_enc_features
2019-08-25 10:51:52 +02:00
usb
net: usb: lan78xx: Fix suspend/resume PHY register access error
2020-01-04 13:40:18 +01:00
vmxnet3
vmxnet3: use DMA memory barriers where required
2018-05-25 16:12:56 +02:00
wan
net/wan/fsl_ucc_hdlc: Avoid double free in ucc_hdlc_probe()
2019-12-05 15:35:00 +01:00
wimax
wimax/i2400m: fix a memory leak bug
2019-09-10 10:31:01 +01:00
wireless
iwlwifi: check kasprintf() return value
2020-01-04 13:40:04 +01:00
xen-netback
net: xen-netback: fix return type of ndo_start_xmit function
2019-11-25 09:53:16 +01:00
dummy.c
eql.c
geneve.c
geneve: add missing rx stats accounting
2018-04-13 19:48:26 +02:00
gtp.c
gtp: avoid zero size hashtable
2020-01-04 13:41:15 +01:00
ifb.c
Kconfig
vmxnet3: prevent building with 64K pages
2018-02-25 11:05:51 +01:00
LICENSE.SRC
loopback.c
macsec.c
macsec: let the administrator set UP state even if lowerdev is down
2019-11-28 18:28:43 +01:00
macvlan.c
macvlan: schedule bc_work even if error
2019-12-05 15:35:25 +01:00
macvtap.c
tap: double-free in error path in tap_open()
2017-11-18 11:22:22 +01:00
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
ntb_netdev: fix sleep time mismatch
2019-11-28 18:28:52 +01:00
rionet.c
rapidio/rionet: do not free skb before reading its length
2018-12-05 19:42:38 +01:00
sb1000.c
Space.c
sungem_phy.c
tun.c
tun: fix use-after-free when register netdev failed
2019-09-21 07:14:03 +02:00
veth.c
veth: set peer GSO values
2018-03-22 09:17:57 +01:00
virtio_net.c
virtio-net: Fix operstate for virtio when no VIRTIO_NET_F_STATUS
2018-05-30 07:50:44 +02:00
vrf.c
vrf: make sure skb->data contains ip header to make routing
2019-08-04 09:33:34 +02:00
vxlan.c
vxlan: check tun_info options_len properly
2019-11-10 11:23:28 +01:00
xen-netfront.c
xen-netfront: do not use ~0U as error return value for xennet_fill_frags()
2019-10-07 18:53:23 +02:00