From: wzt wzt <wzt.wzt@gmail.com>
To: kaber@trash.net
Cc: linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] Netfilter: Fix some coding styles and remove moduleparam.h
Date: Thu, 8 Apr 2010 19:44:25 +0800 [thread overview]
Message-ID: <t2t628d1651004080444o35d537cft6fb420ecce509844@mail.gmail.com> (raw)
In-Reply-To: <20100326034415.GB30224@localhost.localdomain>
hi, kaber, this patch is already based on nf-next git trees.
On Fri, Mar 26, 2010 at 11:44 AM, <wzt.wzt@gmail.com> wrote:
> Fix some coding styles and remove moduleparam.h
>
> Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
>
> ---
> net/ipv4/netfilter/nf_nat_standalone.c | 3 +--
> net/ipv4/netfilter/nf_nat_tftp.c | 1 -
> net/netfilter/nf_conntrack_proto.c | 2 --
> 3 files changed, 1 insertions(+), 5 deletions(-)
>
> diff --git a/net/ipv4/netfilter/nf_nat_standalone.c b/net/ipv4/netfilter/nf_nat_standalone.c
> index 5678e95..0b49248 100644
> --- a/net/ipv4/netfilter/nf_nat_standalone.c
> +++ b/net/ipv4/netfilter/nf_nat_standalone.c
> @@ -137,9 +137,8 @@ nf_nat_fn(unsigned int hooknum,
> ret = nf_nat_rule_find(skb, hooknum, in, out,
> ct);
>
> - if (ret != NF_ACCEPT) {
> + if (ret != NF_ACCEPT)
> return ret;
> - }
> } else
> pr_debug("Already setup manip %s for ct %p\n",
> maniptype == IP_NAT_MANIP_SRC ? "SRC" : "DST",
> diff --git a/net/ipv4/netfilter/nf_nat_tftp.c b/net/ipv4/netfilter/nf_nat_tftp.c
> index b096e81..7274a43 100644
> --- a/net/ipv4/netfilter/nf_nat_tftp.c
> +++ b/net/ipv4/netfilter/nf_nat_tftp.c
> @@ -6,7 +6,6 @@
> */
>
> #include <linux/module.h>
> -#include <linux/moduleparam.h>
> #include <linux/udp.h>
>
> #include <net/netfilter/nf_nat_helper.h>
> diff --git a/net/netfilter/nf_conntrack_proto.c b/net/netfilter/nf_conntrack_proto.c
> index 1a4568b..f71cd5d 100644
> --- a/net/netfilter/nf_conntrack_proto.c
> +++ b/net/netfilter/nf_conntrack_proto.c
> @@ -13,12 +13,10 @@
> #include <linux/netfilter.h>
> #include <linux/module.h>
> #include <linux/mutex.h>
> -#include <linux/skbuff.h>
> #include <linux/vmalloc.h>
> #include <linux/stddef.h>
> #include <linux/err.h>
> #include <linux/percpu.h>
> -#include <linux/moduleparam.h>
> #include <linux/notifier.h>
> #include <linux/kernel.h>
> #include <linux/netdevice.h>
> --
> 1.6.5.3
>
>
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-04-08 11:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 3:44 [PATCH] Netfilter: Fix some coding styles and remove moduleparam.h wzt.wzt
2010-04-08 11:44 ` wzt wzt [this message]
2010-04-13 9:26 ` Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=t2t628d1651004080444o35d537cft6fb420ecce509844@mail.gmail.com \
--to=wzt.wzt@gmail.com \
--cc=kaber@trash.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).