linux-stable/drivers/net
Valentin Vidic 11fe3495e9 net: korina: fix kfree of rx/tx descriptor array
[ Upstream commit 3af5f0f5c7 ]

kmalloc returns KSEG0 addresses so convert back from KSEG1
in kfree. Also make sure array is freed when the driver is
unloaded from the kernel.

Fixes: ef11291bcd ("Add support the Korina (IDT RC32434) Ethernet MAC")
Signed-off-by: Valentin Vidic <vvidic@valentin-vidic.from.hr>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:07:07 +01:00
..
appletalk
arcnet
bonding bonding: set dev->needed_headroom in bond_setup_by_slave() 2020-10-14 09:51:13 +02:00
caif
can can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices 2020-06-20 10:25:06 +02:00
cris
dsa net: dsa: b53: check for timeout 2020-08-26 10:29:59 +02:00
ethernet net: korina: fix kfree of rx/tx descriptor array 2020-10-29 09:07:07 +01:00
fddi
fjes fjes: fix missed check in fjes_acpi_add 2019-12-31 12:36:39 +01:00
hamradio yam: fix possible memory leak in yam_init_driver 2020-06-25 15:41:50 +02:00
hippi hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path 2020-07-29 07:42:53 +02:00
hyperv hv_netvsc: Remove "unlikely" from netvsc_select_queue 2020-09-23 10:46:33 +02:00
ieee802154 ieee802154/adf7242: check status of adf7242_read_reg 2020-10-01 13:12:49 +02:00
ipvlan ipvlan: fix device features 2020-09-03 11:22:24 +02:00
phy mdio: fix mdio-thunder.c dependency & build error 2020-10-14 09:51:13 +02:00
plip
ppp pppoe: only process PADT targeted at local interfaces 2020-06-11 09:22:56 +02:00
slip slip: not call free_netdev before rtnl_unlock in slip_open 2020-03-20 10:54:25 +01:00
team net: team: fix memory leak in __team_options_register 2020-10-14 09:51:12 +02:00
usb net: usb: qmi_wwan: add Cellient MPL200 card 2020-10-29 09:06:58 +01:00
vmxnet3 net: vmxnet3: fix possible buffer overflow caused by bad DMA value in vmxnet3_get_rss() 2020-06-20 10:25:09 +02:00
wan net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup 2020-10-29 09:06:59 +01:00
wimax wimax/i2400m: Fix potential urb refcnt leak 2020-05-10 10:28:59 +02:00
wireless mwifiex: fix double free 2020-10-29 09:07:07 +01:00
xen-netback
dummy.c
eql.c
geneve.c geneve: add transport ports in route lookup for geneve 2020-10-01 13:12:25 +02:00
gtp.c gtp: add GTPA_LINK info to msg sent to userspace 2020-09-09 19:03:09 +02:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: avoid use-after-free in macsec_handle_frame() 2020-10-14 09:51:11 +02:00
macvlan.c macvlan: Skip loopback packets in RX handler 2020-06-20 10:25:13 +02:00
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
tun.c tuntap: correctly set SOCKWQ_ASYNC_NOSPACE 2020-03-11 18:02:54 +01:00
veth.c
virtio_net.c
vrf.c vrf: Check skb for XFRM_TRANSFORMED flag 2020-05-02 17:24:18 +02:00
vsockmon.c
vxlan.c Revert "vxlan: fix tos value before xmit" 2020-08-21 09:48:01 +02:00
xen-netfront.c xen-netfront: fix potential deadlock in xennet_remove() 2020-08-05 10:06:53 +02:00