From: Eric Dumazet Date: Sat, 17 Apr 2010 07:54:36 +0000 (-0700) Subject: rps: rps_sock_flow_table is mostly read X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8770acf0494ae06de6abd34f951a436f8f15d1de;p=openwrt%2Fstaging%2Fblogic.git rps: rps_sock_flow_table is mostly read Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index d7107ac835fa..7abf9590e3c5 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2205,7 +2205,7 @@ DEFINE_PER_CPU(struct netif_rx_stats, netdev_rx_stat) = { 0, }; #ifdef CONFIG_RPS /* One global table that all flow-based protocols share. */ -struct rps_sock_flow_table *rps_sock_flow_table; +struct rps_sock_flow_table *rps_sock_flow_table __read_mostly; EXPORT_SYMBOL(rps_sock_flow_table); /*