linux-stable/drivers/net
Johannes Berg 26a4022ca2 wifi: iwlwifi: mvm: fix potential memory leak
[ Upstream commit 457d7fb03e ]

If we do get multiple notifications from firmware, then
we might have allocated 'notif', but don't free it. Fix
that by checking for duplicates before allocation.

Fixes: 4da46a06d4 ("wifi: iwlwifi: mvm: Add support for wowlan info notification")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230418122405.116758321cc4.I8bdbcbb38c89ac637eaa20dda58fa9165b25893a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 13:58:55 +02:00
..
appletalk
arcnet
bonding bonding: Fix memory leak when changing bond type to Ethernet 2023-04-26 14:29:58 +02:00
caif
can
dsa net: dsa: mt7530: fix network connectivity with multiple CPU ports 2023-05-17 13:58:50 +02:00
ethernet net: fec: correct the counting of XDP sent frames 2023-05-17 13:58:51 +02:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154 ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx() 2023-04-06 12:12:31 +02:00
ipa net: ipa: compute DMA pool size properly 2023-04-06 12:12:38 +02:00
ipvlan
mctp
mdio
netdevsim
pcs net: pcs: xpcs: remove double-read of link state when using AN 2023-05-11 23:11:09 +09:00
phy net: sfp: add quirk enabling 2500Base-x for HG MXPD-483II 2023-05-11 23:10:48 +09:00
plip
ppp
pse-pd
slip
team
usb r8152: move setting r8153b_rx_agg_chg_indicate() 2023-05-17 13:58:46 +02:00
vmxnet3 vmxnet3: use gro callback when UPT is enabled 2023-04-06 12:12:42 +02:00
vxlan
wan
wireguard cpumask: fix incorrect cpumask scanning result checks 2023-03-30 12:51:28 +02:00
wireless wifi: iwlwifi: mvm: fix potential memory leak 2023-05-17 13:58:55 +02:00
wwan net: wwan: t7xx: do not compile with -Werror 2023-05-11 23:10:47 +09:00
xen-netback xen/netback: use same error messages for same errors 2023-04-26 14:30:01 +02:00
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c net/net_failover: fix txq exceeding warning 2023-04-06 12:12:35 +02:00
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c virtio_net: suppress cpu stall when free_unused_bufs 2023-05-17 13:58:51 +02:00
vrf.c
vsockmon.c
xen-netfront.c