Commit 1e038e3e authored by Arushi Singhal's avatar Arushi Singhal Committed by Pablo Neira Ayuso

netfilter: ip6_tables: Remove unneccessary comments

This comments are obsolete and should go, as there are no set of rules
per CPU anymore.
Signed-off-by: default avatarArushi Singhal <arushisinghal19971997@gmail.com>
parent d4ef3835
...@@ -51,15 +51,6 @@ void *ip6t_alloc_initial_table(const struct xt_table *info) ...@@ -51,15 +51,6 @@ void *ip6t_alloc_initial_table(const struct xt_table *info)
} }
EXPORT_SYMBOL_GPL(ip6t_alloc_initial_table); EXPORT_SYMBOL_GPL(ip6t_alloc_initial_table);
/*
We keep a set of rules for each CPU, so we can avoid write-locking
them in the softirq when updating the counters and therefore
only need to read-lock in the softirq; doing a write_lock_bh() in user
context stops packets coming through and allows user context to read
the counters or update the rules.
Hence the start of any table is given by get_table() below. */
/* Returns whether matches rule or not. */ /* Returns whether matches rule or not. */
/* Performance critical - called for every packet */ /* Performance critical - called for every packet */
static inline bool static inline bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment