Thread (3 messages) flat view 3 messages, 2 authors, 2008-01-25

Re: [PATCH 1/5] netns netfilter: per-netns ip6tables

From: Alexey Dobriyan <hidden>
Date: 2008-01-25 16:39:40
Also in: netfilter-devel

On Thu, Jan 24, 2008 at 06:33:37PM +0100, Patrick McHardy wrote:
Alexey Dobriyan wrote:
quoted
* Propagate netns from userspace down to xt_find_table_lock()
* Register ip6 tables in netns (modules still use init_net)

Signed-off-by: Alexey Dobriyan <redacted>
---

include/linux/netfilter_ipv6/ip6_tables.h |    3 +
net/ipv6/netfilter/ip6_tables.c           |   50 
+++++++++++++++---------------
net/ipv6/netfilter/ip6table_filter.c      |    2 -
net/ipv6/netfilter/ip6table_mangle.c      |    2 -
net/ipv6/netfilter/ip6table_raw.c         |    2 -
5 files changed, 31 insertions(+), 28 deletions(-)
This adds checkpatch warnings:

WARNING: line over 80 characters
#96: FILE: net/ipv6/netfilter/ip6_tables.c:1361:
+do_add_counters(struct net *net, void __user *user, unsigned int len, 
int compat)

WARNING: line over 80 characters
#229: FILE: net/ipv6/netfilter/ip6table_filter.c:135:
+       packet_filter = ip6t_register_table(&init_net, &__packet_filter, 
&initial_table.repl);

WARNING: line over 80 characters
#242: FILE: net/ipv6/netfilter/ip6table_mangle.c:167:
+       packet_mangler = ip6t_register_table(&init_net, 
&__packet_mangler, &initial_table.repl);

WARNING: line over 80 characters
#255: FILE: net/ipv6/netfilter/ip6table_raw.c:80:
+       packet_raw = ip6t_register_table(&init_net, &__packet_raw, 
&initial_table.repl);

ERROR: Missing Signed-off-by: line(s)
Well, SOB line definitely was present.
total: 1 errors, 4 warnings, 214 lines checked

I'll fix them up, lets hope that it doesn't cause clashes
with the following patches.
OK. It was quantum coding style violation. :-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help