Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1619317 > unrolled thread

[PATCH] net: ipv6: Remove unneccessary comments

Started byArushi Singhal <arushisinghal19971997@gmail.com>
First post2017-04-08 18:00 +0200
Last post2017-04-08 22:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] net: ipv6: Remove unneccessary comments Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-04-08 18:00 +0200
    Re: [PATCH] net: ipv6: Remove unneccessary comments Pablo Neira Ayuso <pablo@netfilter.org> - 2017-04-08 22:20 +0200

#1619317 — [PATCH] net: ipv6: Remove unneccessary comments

FromArushi Singhal <arushisinghal19971997@gmail.com>
Date2017-04-08 18:00 +0200
Subject[PATCH] net: ipv6: Remove unneccessary comments
Message-ID<tu0Wl-7ck-11@gated-at.bofh.it>
This comments are obsolete and should go, as there are no set of rules per
CPU anymore.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
---
 net/ipv6/netfilter/ip6_tables.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c
index 1e15c54fd5e2..e52234a111d6 100644
--- a/net/ipv6/netfilter/ip6_tables.c
+++ b/net/ipv6/netfilter/ip6_tables.c
@@ -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
-- 
2.11.0

[toc] | [next] | [standalone]


#1619381

FromPablo Neira Ayuso <pablo@netfilter.org>
Date2017-04-08 22:20 +0200
Message-ID<tu4ZX-1w6-3@gated-at.bofh.it>
In reply to#1619317
On Sat, Apr 08, 2017 at 09:19:30PM +0530, Arushi Singhal wrote:
> This comments are obsolete and should go, as there are no set of rules per
> CPU anymore.

Applied, thanks.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web