[NET_SCHED]: mark classifier ops __read_mostly
Additionally remove unnecessary NULL initilizations of the next pointer. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
62e3ba1b55
commit
2eb9d75c72
@@ -31,7 +31,7 @@
|
||||
|
||||
/* The list of all installed classifier types */
|
||||
|
||||
static struct tcf_proto_ops *tcf_proto_base;
|
||||
static struct tcf_proto_ops *tcf_proto_base __read_mostly;
|
||||
|
||||
/* Protects list of registered TC modules. It is pure SMP lock. */
|
||||
static DEFINE_RWLOCK(cls_mod_lock);
|
||||
|
Reference in New Issue
Block a user