original_kernel/net
Sowmini Varadhan 53d0e83f93 rds: tcp: must use spin_lock_irq* and not spin_lock_bh with rds_tcp_conn_lock
rds_tcp_connection allocation/free management has the potential to be
called from __rds_conn_create after IRQs have been disabled, so
spin_[un]lock_bh cannot be used with rds_tcp_conn_lock.

Bottom-halves that need to synchronize for critical sections protected
by rds_tcp_conn_lock should instead use rds_destroy_pending() correctly.

Reported-by: syzbot+c68e51bb5e699d3f8d91@syzkaller.appspotmail.com
Fixes: ebeeb1ad9b ("rds: tcp: use rds_destroy_pending() to synchronize
       netns/module teardown and rds connection/workq management")
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-17 17:18:54 -04:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
batman-adv Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-06 01:20:46 -05:00
bluetooth
bpf
bridge Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-06 01:20:46 -05:00
caif
can
ceph
core net: Use rtnl_lock_killable() in register_netdev() 2018-03-16 12:31:19 -04:00
dcb
dccp
decnet
dns_resolver
dsa
ethernet
hsr
ieee802154
ife
ipv4 net-tcp_bbr: set tp->snd_ssthresh to BDP upon STARTUP exit 2018-03-16 15:07:48 -04:00
ipv6 udp: Move the udp sysctl to namespace. 2018-03-16 12:03:30 -04:00
iucv
kcm
key
l2tp net: Convert l2tp_net_ops 2018-03-17 17:07:39 -04:00
l3mdev
lapb
llc net: llc: drop VLA in llc_sap_mcast() 2018-03-12 11:14:06 -04:00
mac80211 net: drivers/net: Remove unnecessary skb_copy_expand OOM messages 2018-03-15 14:28:03 -04:00
mac802154
mpls net: Convert mpls_net_ops 2018-03-17 17:07:39 -04:00
ncsi net/ncsi: unlock on error in ncsi_set_interface_nl() 2018-03-08 21:49:58 -05:00
netfilter net: Convert ip_vs_ftp_ops 2018-03-17 17:07:39 -04:00
netlabel
netlink
netrom
nfc
nsh
openvswitch net: Convert ovs_net_ops 2018-03-17 17:07:39 -04:00
packet
phonet
psample
qrtr Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-06 01:20:46 -05:00
rds rds: tcp: must use spin_lock_irq* and not spin_lock_bh with rds_tcp_conn_lock 2018-03-17 17:18:54 -04:00
rfkill
rose
rxrpc rxrpc: remove redundant initialization of variable 'len' 2018-03-16 09:48:39 -04:00
sched net sched actions: implement get_fill_size routine in act_gact 2018-03-09 11:25:12 -05:00
sctp sctp: Fix double free in sctp_sendmsg_to_asoc 2018-03-15 14:32:04 -04:00
smc net/smc: enable ipv6 support for smc 2018-03-16 14:57:26 -04:00
strparser
sunrpc
switchdev
tipc tipc: some name changes 2018-03-17 17:11:46 -04:00
tls
unix
vmw_vsock
wimax
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-06 01:20:46 -05:00
x25
xfrm net: Convert xfrm_user_net_ops 2018-03-08 12:36:43 -05:00
Kconfig
Makefile
compat.c
socket.c
sysctl_net.c