dragonheart_kernel_oneplus_.../net/core
Eric Dumazet 3a27ca5e99
net: annotate lockless accesses to sk->sk_pacing_shift
sk->sk_pacing_shift can be read and written without lock
synchronization. This patch adds annotations to
document this fact and avoid future syzbot complains.

This might also avoid unexpected false sharing
in sk_pacing_shift_update(), as the compiler
could remove the conditional check and always
write over sk->sk_pacing_shift :

if (sk->sk_pacing_shift != val)
	sk->sk_pacing_shift = val;

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live>
Signed-off-by: Panchajanya Sarkar <panchajanya@azure-dev.live>
Signed-off-by: Forenche <prahul2003@gmail.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2021-11-10 15:49:25 +08:00
..
Makefile
datagram.c
dev.c net: Import OnePlus Changes 2021-11-10 05:00:30 +08:00
dev_addr_lists.c
dev_ioctl.c
devlink.c
drop_monitor.c drop_monitor: work around gcc-10 stringop-overflow warning 2020-05-20 08:17:05 +02:00
dst.c
dst_cache.c
ethtool.c Merge android-4.14.166 (d4dd59f) into msm-4.14 2020-05-15 17:42:34 +05:30
fib_notifier.c
fib_rules.c
filter.c net: extend sk_pacing_rate to unsigned long 2021-11-10 15:49:24 +08:00
flow_dissector.c
gen_estimator.c
gen_stats.c
gro_cells.c
hwbm.c
link_watch.c
lwt_bpf.c
lwtunnel.c
neighbour.c net: Import OnePlus Changes 2021-11-10 05:00:30 +08:00
net-procfs.c
net-sysfs.c net: Import OnePlus Changes 2021-11-10 05:00:30 +08:00
net-sysfs.h
net-traces.c
net_namespace.c
netclassid_cgroup.c cgroup, netclassid: remove double cond_resched 2020-05-10 10:29:03 +02:00
netevent.c
netpoll.c net: Import OnePlus Changes 2021-11-10 05:00:30 +08:00
netprio_cgroup.c netprio_cgroup: Fix unlimited memory leak of v2 cgroups 2020-05-20 08:17:13 +02:00
pktgen.c
ptp_classifier.c
request_sock.c
rtnetlink.c net: Import OnePlus Changes 2021-11-10 05:00:30 +08:00
scm.c
secure_seq.c
skbuff.c net: Import OnePlus Changes 2021-11-10 05:00:30 +08:00
sock.c net: annotate lockless accesses to sk->sk_pacing_shift 2021-11-10 15:49:25 +08:00
sock_diag.c
sock_reuseport.c
sockev_nlmcast.c
stream.c
sysctl_net_core.c
timestamping.c
tso.c
utils.c