Star64_linux/net
J. Bruce Fields 6ed407c5e2 nfsd: don't alloc under spinlock in rpc_parse_scope_id
[ Upstream commit 9b6e27d01a ]

Dan Carpenter says:

  The patch d20c11d86d: "nfsd: Protect session creation and client
  confirm using client_lock" from Jul 30, 2014, leads to the following
  Smatch static checker warning:

        net/sunrpc/addr.c:178 rpc_parse_scope_id()
        warn: sleeping in atomic context

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: d20c11d86d ("nfsd: Protect session creation and client...")
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 16:57:41 +08:00
..
6lowpan
9p net/9p: increase default msize to 128k 2021-09-05 08:36:44 +09:00
802
8021q
appletalk
atm
ax25
batman-adv net: batman-adv: fix error handling 2021-10-26 14:47:12 +01:00
bluetooth Bluetooth: fix init and cleanup of sco_conn.timeout_work 2023-04-19 16:57:15 +08:00
bpf bpf, test, cgroup: Use sk_{alloc,free} for test cases 2021-09-28 09:29:28 +02:00
bpfilter
bridge net: bridge: fix uninitialized variables when BRIDGE_CFM is disabled 2023-04-19 16:57:31 +08:00
caif net-caif: avoid user-triggerable WARN_ON(1) 2021-09-14 12:51:15 +01:00
can can: j1939: j1939_tp_cmd_recv(): check the dst address of TP.CM_BAM 2023-04-19 16:57:02 +08:00
ceph
core skmsg: Lose offset info in sk_psock_skb_ingress 2023-04-19 16:57:32 +08:00
dcb
dccp tcp: switch orphan_count to bare per-cpu counters 2023-04-19 16:57:23 +08:00
decnet
dns_resolver
dsa net: dsa: avoid refcount warnings when ->port_{fdb,mdb}_del returns error 2023-04-19 16:57:29 +08:00
ethernet
ethtool
hsr
ieee802154
ife
ipv4 tcp: don't free a FIN sk_buff in tcp_remove_empty_skb() 2023-04-19 16:57:29 +08:00
ipv6 udp6: allow SO_MARK ctrl msg to affect routing 2023-04-19 16:57:31 +08:00
iucv
kcm
key
l2tp net/l2tp: Fix reference count leak in l2tp_udp_recv_core 2021-09-09 11:00:20 +01:00
l3mdev
lapb
llc
mac80211 mac80211: twt: don't use potentially unaligned pointer 2023-04-19 16:57:18 +08:00
mac802154 ieee802154: Remove redundant initialization of variable ret 2021-09-07 14:06:08 +01:00
mctp mctp: handle the struct sockaddr_mctp padding fields 2023-04-19 16:57:01 +08:00
mpls
mptcp mptcp: do not shrink snd_nxt when recovering 2023-04-19 16:57:18 +08:00
ncsi net/ncsi: add get MAC address command to get Intel i210 MAC address 2021-09-01 17:18:56 -07:00
netfilter netfilter: nft_dynset: relax superfluous check on set updates 2023-04-19 16:57:21 +08:00
netlabel net: fix NULL pointer reference in cipso_v4_doi_free 2021-08-30 12:23:18 +01:00
netlink netlink: annotate data races around nlk->bound 2021-10-05 13:11:09 +01:00
netrom
nfc NFC: digital: fix possible memory leak in digital_in_send_sdd_req() 2021-10-13 17:44:29 -07:00
nsh
openvswitch
packet net/packet: clarify source of pr_*() messages 2021-09-10 10:00:59 +01:00
phonet
psample
qrtr net: qrtr: revert check in qrtr_endpoint_post() 2021-09-02 11:37:02 +01:00
rds
rfkill net: rfkill: gpio: add DT support 2023-04-12 16:11:39 +08:00
rose
rxrpc rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies() 2023-04-19 16:57:18 +08:00
sched net: sched: update default qdisc visibility after Tx queue cnt changes 2023-04-19 16:57:06 +08:00
sctp sctp: return true only for pathmtu update in sctp_transport_pl_toobig 2023-04-19 16:57:31 +08:00
smc net/smc: Correct spelling mistake to TCPF_SYN_RECV 2021-10-28 13:04:28 +01:00
strparser
sunrpc nfsd: don't alloc under spinlock in rpc_parse_scope_id 2023-04-19 16:57:41 +08:00
switchdev
tipc tipc: fix size validations for the MSG_CRYPTO type 2021-10-26 13:43:07 +01:00
tls net/tls: Fix flipped sign in async_wait.err assignment 2021-10-28 14:41:20 +01:00
unix net: Implement ->sock_is_readable() for UDP and AF_UNIX 2021-10-26 12:29:33 -07:00
vmw_vsock af_vsock: rename variables in receive loop 2021-09-06 02:25:16 -04:00
wireless cfg80211: always free wiphy specific regdomain 2023-04-19 16:57:18 +08:00
x25
xdp
xfrm xfrm: fix rcu lock in xfrm_notify_userpolicy() 2021-09-23 10:11:12 +02:00
compat.c
devres.c
Kconfig
Makefile
socket.c Core: 2021-08-31 16:43:06 -07:00
sysctl_net.c