android_kernel_sony_sdm845/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter 55b8644dfd ath9k: Fix a locking bug in ath9k_add_interface()
[ Upstream commit 461cf036057477805a8a391e5fd0f5264a5e56a8 ]

We tried to revert commit d9c52fd17cb4 ("ath9k: fix tx99 with monitor
mode interface") but accidentally missed part of the locking change.

The lock has to be held earlier so that we're holding it when we do
"sc->tx99_vif = vif;" and also there in the current code there is a
stray unlock before we have taken the lock.

Fixes: 6df0580be8bc ("ath9k: add back support for using active monitor interfaces for tx99")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-25 09:52:24 +01:00
..
appletalk net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT 2018-09-29 03:07:32 -07:00
arcnet arcnet: provide a buffer big enough to actually receive packets 2019-10-05 12:30:12 +02:00
bonding bonding: fix unexpected IFF_BONDING bit unset 2019-11-12 19:15:58 +01:00
caif caif-hsi: fix possible deadlock in cfhsi_exit_module() 2019-08-04 09:33:33 +02:00
can can: flexcan: disable completely the ECC mechanism 2019-11-12 19:16:10 +01:00
cris
dsa net: dsa: mv88e6xxx: wait after reset deactivation 2019-08-04 09:33:33 +02:00
ethernet cxgb4: Fix endianness issue in t4_fwcache() 2019-11-25 09:52:20 +01:00
fddi
fjes fjes: Handle workqueue allocation failure 2019-11-12 19:16:04 +01:00
hamradio net: hamradio: use eth_broadcast_addr 2018-08-24 13:12:30 +02:00
hippi hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close 2018-02-25 11:05:50 +01:00
hyperv hv_netvsc: Fix IP header checksum for coalesced packets 2019-03-13 14:04:53 -07:00
ieee802154 ieee802154: atusb: fix use-after-free at disconnect 2019-10-17 13:42:07 -07:00
ipvlan ipvlan: disallow userns cap_net_admin to change global mode/flags 2019-03-19 13:14:10 +01:00
irda irda: vlsi_ir: fix check for DMA mapping errors 2017-12-25 14:23:41 +01:00
phy net/phy: fix DP83865 10 Mbps HDX loopback disable function 2019-10-05 12:30:13 +02:00
plip
ppp ppp: Fix memory leak in ppp_write 2019-10-05 12:30:13 +02:00
slip slip: Fix memory leak in slip_open error path 2019-11-25 09:51:54 +01:00
team team: Add vlan tx offload to hw_enc_features 2019-08-25 10:51:52 +02:00
usb net: lan78xx: Bail out if lan78xx_get_endpoints fails 2019-11-25 09:52:06 +01:00
vmxnet3 vmxnet3: use DMA memory barriers where required 2018-05-25 16:12:56 +02:00
wan net/wan: fix a double free in x25_asy_open_tty() 2019-01-09 16:16:40 +01:00
wimax wimax/i2400m: fix a memory leak bug 2019-09-10 10:31:01 +01:00
wireless ath9k: Fix a locking bug in ath9k_add_interface() 2019-11-25 09:52:24 +01:00
xen-netback xen/netback: fix error path of xenvif_connect_data() 2019-10-29 09:15:26 +01:00
dummy.c
eql.c
geneve.c geneve: add missing rx stats accounting 2018-04-13 19:48:26 +02:00
gtp.c gtp: fix use-after-free in gtp_newlink() 2019-08-04 09:33:25 +02:00
ifb.c
Kconfig vmxnet3: prevent building with 64K pages 2018-02-25 11:05:51 +01:00
LICENSE.SRC
loopback.c
macsec.c macsec: drop skb sk before calling gro_cells_receive 2019-10-05 12:30:12 +02:00
macvlan.c macvlan: fix use-after-free in macvlan_common_newlink() 2018-05-30 07:50:30 +02:00
macvtap.c tap: double-free in error path in tap_open() 2017-11-18 11:22:22 +01:00
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c rapidio/rionet: do not free skb before reading its length 2018-12-05 19:42:38 +01:00
sb1000.c
Space.c
sungem_phy.c
tun.c tun: fix use-after-free when register netdev failed 2019-09-21 07:14:03 +02:00
veth.c veth: set peer GSO values 2018-03-22 09:17:57 +01:00
virtio_net.c virtio-net: Fix operstate for virtio when no VIRTIO_NET_F_STATUS 2018-05-30 07:50:44 +02:00
vrf.c vrf: make sure skb->data contains ip header to make routing 2019-08-04 09:33:34 +02:00
vxlan.c vxlan: check tun_info options_len properly 2019-11-10 11:23:28 +01:00
xen-netfront.c xen-netfront: do not use ~0U as error return value for xennet_fill_frags() 2019-10-07 18:53:23 +02:00