Skip to contentSkip to conversation

net: ipv6: Remove unneccessary comments

PATCH Applied Arushi Singhal 2 participants 2 messages Apr 8, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: ipv6: Remove unneccessary comments

This comments are obsolete and should go, as there are no set of rules per CPU anymore.

---
 net/ipv6/netfilter/ip6_tables.c | 9 ---------
 1 file changed, 9 deletions(-)
net/ipv6/netfilter/ip6_tables.c +0 -9
index 1e15c54fd5e2..e52234a111d6 100644
@@ -51,15 +51,6 @@ void *ip6t_alloc_initial_table(const struct xt_table *info)
 }
 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. */
 /* Performance critical - called for every packet */
 static inline bool
Signature · 1 line
2.11.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Arushi Singhal

This comments are obsolete and should go, as there are no set of rules per CPU anymore.

Applied, thanks.