linux/drivers/net
Ma Ke 1864b82241 net: mana: Fix possible double free in error handling path
When auxiliary_device_add() returns error and then calls
auxiliary_device_uninit(), callback function adev_release
calls kfree(madev). We shouldn't call kfree(madev) again
in the error handling path. Set 'madev' to NULL.

Fixes: a69839d432 ("net: mana: Add support for auxiliary device")
Signed-off-by: Ma Ke <make24@iscas.ac.cn>
Link: https://patch.msgid.link/20240625130314.2661257-1-make24@iscas.ac.cn
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-06-27 12:35:58 +02:00
..
arcnet
bonding bonding: fix incorrect software timestamping report 2024-06-21 11:27:46 +01:00
caif net: caif: virtio: drop owner assignment 2024-05-22 08:31:17 -04:00
can can: mcp251xfd: fix infinite loop when xmit fails 2024-06-21 10:50:20 +02:00
dsa net: dsa: microchip: fix wrong register write when masking interrupt 2024-06-25 13:26:25 +02:00
ethernet net: mana: Fix possible double free in error handling path 2024-06-27 12:35:58 +02:00
fddi
fjes tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
hamradio
hippi
hyperv tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
ieee802154
ipa
ipvlan ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound 2024-05-30 12:05:52 +02:00
mctp
mdio
netdevsim netdevsim: fix backwards compatibility in nsim_get_iflink() 2024-06-10 11:51:04 +01:00
pcs net: pcs: lynx: no need to read LPA in lynx_pcs_get_state_2500basex() 2024-05-13 16:37:18 -07:00
phy net: phy: micrel: add Microchip KSZ 9477 to the device table 2024-06-23 10:06:58 +01:00
plip
ppp rtnetlink: allow rtnl_fill_link_netnsid() to run under RCU protection 2024-05-07 11:14:50 +02:00
pse-pd net: pse-pd: Kconfig: Fix missing firmware loader config select 2024-06-21 11:29:52 +01:00
slip net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
team net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
thunderbolt
usb net: usb: qmi_wwan: add Telit FN912 compositions 2024-06-26 07:27:27 -07:00
vmxnet3 vmxnet3: disable rx data ring on dma allocation failure 2024-06-03 18:49:33 -07:00
vxlan vxlan: Pull inner IP header in vxlan_xmit_one(). 2024-06-21 17:34:15 -07:00
wan
wireguard
wireless wifi: iwlwifi: scan: correctly check if PSC listen period is needed 2024-06-12 10:11:33 +02:00
wwan net: wwan: iosm: Fix tainted pointer delete is case of region creation fail 2024-06-06 10:15:14 +02:00
xen-netback net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
amt.c
bareudp.c
dummy.c
eql.c
geneve.c geneve: Fix incorrect inner network header offset when innerprotoinherit is set 2024-06-10 13:18:08 +01:00
gtp.c gtp: identify tunnel via GTP device + GTP version + TEID + family 2024-05-07 01:36:02 +02:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c net: loopback: Do not allocate lstats explicitly 2024-04-30 19:01:58 -07:00
macsec.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
macvlan.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
macvtap.c
Makefile net: Always descend into dsa/ folder with CONFIG_NET_DSA enabled 2024-05-20 11:04:29 +01:00
mdio.c
mhi_net.c
mii.c
net_failover.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
netconsole.c
netkit.c netkit: Fix pkt_type override upon netkit pass verdict 2024-05-25 10:48:57 -07:00
nlmon.c
ntb_netdev.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
pfcp.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
tun.c for-6.10/io_uring-20240511 2024-05-13 12:48:06 -07:00
veth.c Revert "net: mirror skb frag ref/unref helpers" 2024-05-03 16:05:53 -07:00
virtio_net.c virtio_net: fixing XDP for fully checksummed packets handling 2024-06-19 10:52:44 +01:00
vrf.c inet: introduce dst_rtable() helper 2024-04-30 18:32:38 -07:00
vsockmon.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
xen-netfront.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00