linux-uconsole/net
Wei Yongjun 04096b3bea mac80211: mesh: fix missing unlock on error in table_path_del()
[ Upstream commit f2ffff085d ]

spin_lock_bh() is used in table_path_del() but rcu_read_unlock()
is used for unlocking. Fix it by using spin_unlock_bh() instead
of rcu_read_unlock() in the error handling case.

Fixes: b4c3fbe636 ("mac80211: Use linked list instead of rhashtable walk for mesh tables")
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-07-10 09:53:45 +02:00
..
6lowpan
9p net/9p: include trans_common.h to fix missing prototype warning. 2019-07-03 13:14:43 +02:00
802
8021q
appletalk
atm
ax25 ax25: fix inconsistent lock state in ax25_destroy_timer 2019-06-22 08:15:13 +02:00
batman-adv batman-adv: allow updating DAT entry timeouts on incoming ARP Replies 2019-05-31 06:46:31 -07:00
bluetooth Bluetooth: Fix faulty expression for minimum encryption key size check 2019-07-10 09:53:30 +02:00
bpf
bpfilter
bridge
caif
can can: purge socket error queue on sock destruct 2019-06-25 11:36:00 +08:00
ceph
core bpf: fix unconnected udp hooks 2019-07-03 13:14:48 +02:00
dcb
dccp
decnet
dns_resolver
dsa
ethernet
hsr
ieee802154
ife
ipv4 bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro 2019-07-03 13:14:48 +02:00
ipv6 bpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_err 2019-07-03 13:14:48 +02:00
iucv
kcm
key
l2tp
l3mdev
lapb lapb: fixed leak of control-blocks. 2019-06-22 08:15:13 +02:00
llc llc: fix skb leak in llc_build_and_send_ui_pkt() 2019-06-04 08:02:31 +02:00
mac80211 mac80211: mesh: fix missing unlock on error in table_path_del() 2019-07-10 09:53:45 +02:00
mac802154
mpls
ncsi
netfilter netfilter: nft_flow_offload: IPCB is only valid for ipv4 family 2019-07-10 09:53:31 +02:00
netlabel
netlink
netrom
nfc nfc: Ensure presence of required attributes in the deactivate_target handler 2019-06-22 08:15:14 +02:00
nsh
openvswitch net: openvswitch: do not free vport if register_netdevice() is failed. 2019-06-22 08:15:14 +02:00
packet net/packet: fix memory leak in packet_set_ring() 2019-07-03 13:14:47 +02:00
phonet
psample
qrtr
rds net: rds: fix memory leak in rds_ib_flush_mr_pool 2019-06-11 12:20:49 +02:00
rfkill
rose
rxrpc
sched net: sched: don't use tc_action->order during action dump 2019-06-04 08:02:32 +02:00
sctp sctp: change to hold sk after auth shkey is created successfully 2019-07-03 13:14:47 +02:00
smc net/smc: move unhash before release of clcsock 2019-07-10 09:53:44 +02:00
strparser
sunrpc SUNRPC: Clean up initialisation of the struct rpc_rqst 2019-07-03 13:14:46 +02:00
switchdev
tipc tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb 2019-07-03 13:14:49 +02:00
tls net/tls: replace the sleeping lock around RX resync with a bit lock 2019-06-11 12:20:49 +02:00
unix
vmw_vsock vsock/virtio: set SOCK_DONE on peer shutdown 2019-06-22 08:15:14 +02:00
wimax
wireless nl80211: fix station_info pertid memory leak 2019-06-25 11:36:01 +08:00
x25
xdp
xfrm
compat.c
Kconfig
Makefile
socket.c
sysctl_net.c