summaryrefslogtreecommitdiff
path: root/net/core/net-procfs.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2024-04-01 11:28:32 +0100
committerDavid S. Miller <davem@davemloft.net>2024-04-01 11:28:32 +0100
commit3b4cf29bdab08328dfab5bb7b41a62937ea5b379 (patch)
tree56a637e4861e796a3919c4f774c057ce3ab34534 /net/core/net-procfs.c
parentd823265dd45bbf14bd67aa476057108feb4143ce (diff)
parentd3ae5f4632c107d3c2eeb97a60fecc6a6f9d6fbe (diff)
Merge branch 'net-rps-misc'
Eric Dumazet says: ==================== net: rps: misc changes Make RPS/RFS a bit more efficient with better cache locality and heuristics. Aso shrink include/linux/netdevice.h a bit. v2: fixed a build issue in patch 6/8 with CONFIG_RPS=n (Jakub and kernel build bots) ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-procfs.c')
-rw-r--r--net/core/net-procfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/net-procfs.c b/net/core/net-procfs.c
index a97eceb84e61..fa6d3969734a 100644
--- a/net/core/net-procfs.c
+++ b/net/core/net-procfs.c
@@ -144,7 +144,8 @@ static int softnet_seq_show(struct seq_file *seq, void *v)
seq_printf(seq,
"%08x %08x %08x %08x %08x %08x %08x %08x %08x %08x %08x %08x %08x "
"%08x %08x\n",
- sd->processed, sd->dropped, sd->time_squeeze, 0,
+ sd->processed, atomic_read(&sd->dropped),
+ sd->time_squeeze, 0,
0, 0, 0, 0, /* was fastroute */
0, /* was cpu_collision */
sd->received_rps, flow_limit_count,