android_kernel_motorola_sm6375/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yang Yingliang 53cefa802f ixgbe: fix pci device refcount leak
commit b93fb4405fcb5112c5739c5349afb52ec7f15c07 upstream.

As the comment of pci_get_domain_bus_and_slot() says, it
returns a PCI device with refcount incremented, when finish
using it, the caller must decrement the reference count by
calling pci_dev_put().

In ixgbe_get_first_secondary_devfn() and ixgbe_x550em_a_has_mii(),
pci_dev_put() is called to avoid leak.

Fixes: 8fa10ef012 ("ixgbe: register a mdiobus")
Signed-off-by: Yang Yingliang <[email protected]>
Tested-by: Gurucharan G <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2023-01-18 11:42:02 +01:00
..
appletalk
arcnet
bonding drivers/net/bonding/bond_3ad: return when there's no aggregator 2023-01-18 11:41:58 +01:00
caif
can can: tcan4x5x: Remove invalid write in clear_interrupts 2023-01-18 11:41:15 +01:00
dsa net: lan9303: Fix read error execution path 2023-01-18 11:41:15 +01:00
ethernet ixgbe: fix pci device refcount leak 2023-01-18 11:42:02 +01:00
fddi net: defxx: Fix missing err handling in dfx_init() 2023-01-18 11:41:13 +01:00
fjes
hamradio hamradio: baycom_epp: Fix return type of baycom_send_packet() 2023-01-18 11:41:35 +01:00
hippi
hyperv hv_netvsc: Fix race between VF offering and VF association message from host 2022-10-29 10:20:36 +02:00
ieee802154 ca8210: Fix crash by zero initializing data 2022-12-14 11:30:44 +01:00
ipvlan ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header 2022-09-28 11:04:05 +02:00
netdevsim netdevsim: Avoid allocation warnings triggered from user space 2022-08-25 11:17:49 +02:00
phy net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe 2023-01-18 11:41:57 +01:00
plip net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq() 2022-12-14 11:30:48 +01:00
ppp ppp: associate skb with a device at tx 2023-01-18 11:41:37 +01:00
slip
team net: team: Unsync device addresses on ndo_stop 2022-09-28 11:04:05 +02:00
usb usb: rndis_host: Secure rndis_query check against int overflow 2023-01-18 11:41:58 +01:00
vmxnet3
wan net: farsync: Fix kmemleak when rmmods farsync 2023-01-18 11:41:14 +01:00
wimax
wireless wifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request() 2023-01-18 11:41:36 +01:00
xen-netback xen-netback: move removal of "hotplug-status" to the right place 2023-01-18 11:40:48 +01:00
dummy.c
eql.c
geneve.c geneve: do not use RT_TOS for IPv6 flowlabel 2022-08-25 11:18:24 +02:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c net: loopback: use NET_NAME_PREDICTABLE for name_assign_type 2023-01-18 11:40:49 +01:00
macsec.c
macvlan.c macvlan: enforce a consistent minimal mtu 2022-11-25 17:42:21 +01:00
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c ntb_netdev: Use dev_kfree_skb_any() in interrupt context 2023-01-18 11:41:16 +01:00
rionet.c
sb1000.c
Space.c
sungem_phy.c net: sungem_phy: Add of_node_put() for reference returned by of_get_parent() 2022-08-03 11:59:39 +02:00
tap.c
thunderbolt.c net: thunderbolt: Fix error handling in tbnet_init() 2022-11-25 17:42:16 +01:00
tun.c net: tun: Fix use-after-free in tun_detach() 2022-12-08 11:23:03 +01:00
veth.c
virtio_net.c virtio-net: fix the race between refill work and close 2022-08-03 11:59:41 +02:00
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c xen-netfront: Fix NULL sring after live migration 2022-12-14 11:30:45 +01:00