android_kernel_motorola_sm6375/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kuniyuki Iwashima 73b793dd7d UPSTREAM: af_unix: Do not use atomic ops for unix_sk(sk)->inflight.
[ Upstream commit 97af84a6bba2ab2b9c704c08e67de3b5ea551bb2 ]

When touching unix_sk(sk)->inflight, we are always under
spin_lock(&unix_gc_lock).

Let's convert unix_sk(sk)->inflight to the normal unsigned long.

Bug: 336226035
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240123170856.41348-3-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 47d8ac011fe1 ("af_unix: Fix garbage collector racing against connect()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 301fdbaa0bba4653570f07789909939f977a7620)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I0d965d5f2a863d798c06de9f21d0467f256b538e
2024-06-11 11:08:14 +01:00
..
6lowpan
9p net: 9p: avoid freeing uninit memory in p9pdu_vreadf 2024-01-08 11:29:47 +01:00
802
8021q vlan: skip nested type that is not IFLA_VLAN_QOS_MAPPING 2024-02-23 08:24:50 +01:00
appletalk appletalk: Fix Use-After-Free in atalk_ioctl 2023-12-20 15:41:18 +01:00
atm atm: Fix Use-After-Free in do_vcc_ioctl 2023-12-20 15:41:15 +01:00
ax25
batman-adv batman-adv: Hold rtnl lock during MTU update via netlink 2023-08-30 16:27:25 +02:00
bluetooth Merge 5.4.274 into android11-5.4-lts 2024-04-18 07:23:10 +00:00
bpf
bpfilter
bridge This is the 5.4.270 stable release 2024-03-05 14:53:04 +00:00
caif This is the 5.4.237 stable release 2023-03-22 10:04:49 +00:00
can This is the 5.4.269 stable release 2024-02-24 15:47:08 +00:00
ceph libceph: use kernel_connect() 2023-10-25 11:53:19 +02:00
core Merge 5.4.274 into android11-5.4-lts 2024-04-18 07:23:10 +00:00
dcb net: dcb: choose correct policy to parse DCB_ATTR_BCN 2023-08-11 11:53:57 +02:00
dccp dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses. 2023-11-20 10:30:15 +01:00
decnet Remove DECnet support from kernel 2023-06-21 15:44:10 +02:00
dns_resolver
dsa net: dsa: tag_sja1105: fix MAC DA patching from meta frames 2023-07-27 08:37:24 +02:00
ethernet
hsr hsr: Handle failures in module init 2024-03-26 18:22:25 -04:00
ieee802154
ife net: sched: ife: fix potential use-after-free 2024-01-08 11:29:44 +01:00
ipv4 ANDROID: ABI fixup for abi break in struct dst_ops 2024-06-01 11:28:49 +00:00
ipv6 ANDROID: ABI fixup for abi break in struct dst_ops 2024-06-01 11:28:49 +00:00
iucv net/iucv: fix the allocation size of iucv_path_table array 2024-03-26 18:22:12 -04:00
kcm net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function 2024-03-26 18:22:18 -04:00
key net: af_key: fix sadb_x_filter validation 2023-08-30 16:27:16 +02:00
l2tp l2tp: fix incorrect parameter validation in the pppol2tp_getsockopt() function 2024-03-26 18:22:17 -04:00
l3mdev
lapb
llc llc: call sock_orphan() at release time 2024-02-23 08:25:04 +01:00
mac80211 Merge 5.4.274 into android11-5.4-lts 2024-04-18 07:23:10 +00:00
mac802154
mpls
ncsi net/ncsi: Fix netlink major/minor version numbers 2024-01-25 14:34:25 -08:00
netfilter Merge 5.4.274 into android11-5.4-lts 2024-04-18 07:23:10 +00:00
netlabel calipso: fix memory leak in netlbl_calipso_add_pass() 2024-01-25 14:34:23 -08:00
netlink This is the 5.4.271 stable release 2024-03-06 15:43:51 +00:00
netrom netrom: Fix data-races around sysctl_net_busy_read 2024-03-15 10:48:16 -04:00
nfc nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet 2024-04-13 12:51:33 +02:00
nsh net: nsh: Use correct mac_offset to unwind gso skb in nsh_gso_segment() 2023-05-30 12:44:05 +01:00
openvswitch
packet Merge 5.4.273 into android11-5.4-lts 2024-04-16 15:17:08 +00:00
phonet
psample Revert "psample: Require 'CAP_NET_ADMIN' when joining "packets" group" 2023-12-18 20:13:34 +00:00
qrtr
rds net/rds: fix possible cp null dereference 2024-04-13 12:51:33 +02:00
rfkill net: rfkill: gpio: set GPIO direction 2024-01-08 11:29:47 +01:00
rose net/rose: fix races in rose_kill_by_device() 2024-01-08 11:29:44 +01:00
rxrpc rxrpc: Fix response to PING RESPONSE ACKs to a dead call 2024-02-23 08:25:07 +01:00
sched Merge 5.4.274 into android11-5.4-lts 2024-04-18 07:23:10 +00:00
sctp Merge 5.4.258 into android11-5.4-lts 2023-10-26 06:14:23 +00:00
smc net/smc: fix illegal rmb_desc access in SMC-D connection dump 2024-02-23 08:24:50 +01:00
strparser
sunrpc net: sunrpc: Fix an off by one in rpc_sockaddr2uaddr() 2024-03-26 18:22:23 -04:00
switchdev
tipc This is the 5.4.269 stable release 2024-02-24 15:47:08 +00:00
tls tls: stop recv() if initial process_rx_list gave us non-DATA 2024-03-01 13:13:37 +01:00
unix UPSTREAM: af_unix: Do not use atomic ops for unix_sk(sk)->inflight. 2024-06-11 11:08:14 +01:00
vmw_vsock This is the 5.4.268 stable release 2024-01-26 02:15:05 +00:00
wimax
wireless This is the 5.4.271 stable release 2024-03-06 15:43:51 +00:00
x25 net/x25: fix incorrect parameter validation in the x25_getsockopt() function 2024-03-26 18:22:18 -04:00
xdp xsk: Honor SO_BINDTODEVICE on bind 2023-07-27 08:37:23 +02:00
xfrm ANDROID: ABI fixup for abi break in struct dst_ops 2024-06-01 11:28:49 +00:00
compat.c
Kconfig Merge 5.4.248 into android11-5.4-lts 2023-06-22 16:16:24 +00:00
Makefile Remove DECnet support from kernel 2023-06-21 15:44:10 +02:00
OWNERS
socket.c This is the 5.4.267 stable release 2024-01-16 11:29:17 +00:00
sysctl_net.c
TEST_MAPPING