android_kernel_sony_sdm845/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Íñigo Huguet 06538fdc1b sfc: error code if SRIOV cannot be disabled
[ Upstream commit 1ebe4feb8b442884f5a28d2437040096723dd1ea ]

If SRIOV cannot be disabled during device removal or module unloading,
return error code so it can be logged properly in the calling function.

Note that this can only happen if any VF is currently attached to a
guest using Xen, but not with vfio/KVM. Despite that in that case the
VFs won't work properly with PF removed and/or the module unloaded, I
have let it as is because I don't know what side effects may have
changing it, and also it seems to be the same that other drivers are
doing in this situation.

In the case of being called during SRIOV reconfiguration, the behavior
hasn't changed because the function is called with force=false.

Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:21:08 +02:00
..
appletalk net: appletalk: cops: Fix data race in cops_probe1 2021-06-16 11:36:33 +02:00
arcnet
bonding bonding: init notify_work earlier to avoid uninitialized use 2021-06-16 11:36:33 +02:00
caif net: caif: fix memory leak in ldisc_open 2021-06-30 08:49:20 -04:00
can net: can: ems_usb: fix use-after-free in ems_usb_disconnect() 2021-07-20 16:20:56 +02:00
cris
dsa net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port 2021-03-30 14:41:40 +02:00
ethernet sfc: error code if SRIOV cannot be disabled 2021-07-20 16:21:08 +02:00
fddi FDDI: defxx: Make MMIO the configuration default except for EISA 2021-05-22 10:40:32 +02:00
fjes fjes: check return value after calling platform_get_resource() 2021-07-20 16:21:07 +02:00
hamradio net: hamradio: fix memory leak in mkiss_close 2021-06-30 08:49:16 -04:00
hippi hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path 2020-07-31 16:44:02 +02:00
hyperv
ieee802154 drivers: net: fix memory leak in atusb_probe 2021-04-16 11:59:09 +02:00
ipvlan ipvlan: fix device features 2020-09-03 11:21:15 +02:00
irda
phy net: mdiobus: get rid of a BUG_ON() 2021-06-16 11:36:33 +02:00
plip
ppp pppoe: only process PADT targeted at local interfaces 2020-06-11 09:22:19 +02:00
slip slip: not call free_netdev before rtnl_unlock in slip_open 2020-06-11 09:22:20 +02:00
team net: team: fix memory leak in __team_options_register 2020-10-14 09:48:16 +02:00
usb r8152: Avoid memcpy() over-reading of ETH_SS_STATS 2021-06-30 08:49:21 -04:00
vmxnet3 net: vmxnet3: fix possible buffer overflow caused by bad DMA value in vmxnet3_get_rss() 2020-06-20 10:24:15 +02:00
wan net: lapbether: Prevent racing when checking whether the netif is running 2021-05-22 10:40:26 +02:00
wimax staging: wimax/i2400m: fix byte-order issue 2021-05-22 10:40:16 +02:00
wireless cw1200: add missing MODULE_DEVICE_TABLE 2021-07-20 16:21:07 +02:00
xen-netback xen-netback: Check for hotplug-status existence before watching 2021-04-28 12:07:17 +02:00
dummy.c
eql.c
geneve.c geneve: add transport ports in route lookup for geneve 2020-11-18 18:26:25 +01:00
gtp.c net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending 2021-03-03 17:44:46 +01:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: avoid use-after-free in macsec_handle_frame() 2020-10-14 09:48:15 +02:00
macvlan.c macvlan: Skip loopback packets in RX handler 2020-06-20 10:24:18 +02:00
macvtap.c
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
sb1000.c
Space.c
sungem_phy.c
tun.c net: tun: set tun->dev->addr_len during TUNSETLINK processing 2021-04-16 11:59:09 +02:00
veth.c
virtio_net.c virtio_net: Fix recursive call to cpus_read_lock() 2021-01-12 19:49:02 +01:00
vrf.c
vxlan.c vxlan: add missing rcu_read_lock() in neigh_reduce() 2021-07-20 16:21:03 +02:00
xen-netfront.c xen-netfront: fix potential deadlock in xennet_remove() 2020-08-21 11:01:52 +02:00