OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 1/5] netns netfilter: per-netns ip6tables
Re: [PATCH 1/5] netns netfilter: per-netns ip6tables [message #26531 is a reply to message #26480] Fri, 25 January 2008 16:39 Go to previous message
Alexey Dobriyan is currently offline  Alexey Dobriyan
Messages: 195
Registered: August 2006
Senior Member
On Thu, Jan 24, 2008 at 06:33:37PM +0100, Patrick McHardy wrote:
> Alexey Dobriyan wrote:
> >* 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 <adobriyan@sw.ru>
> >---
> >
> > 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. :-)
 
Read Message
Read Message
Read Message
Previous Topic: [PATCH 1/7 net-2.6.25] [IPV4]: Fix memory leak on error path during FIB initialization.
Next Topic: Re: [PATCH 1/2] dm-band: The I/O bandwidth controller: Source code patch
Goto Forum:
  


Current Time: Wed Sep 18 05:16:32 GMT 2024

Total time taken to generate the page: 0.07665 seconds