netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Florian Westphal <fw@strlen.de>
Cc: kbuild-all@01.org, netfilter-devel@vger.kernel.org,
	netdev@vger.kernel.org, Florian Westphal <fw@strlen.de>
Subject: Re: [PATCH nf-next 4/4] netfilter: merge ctinfo into nfct pointer storage area
Date: Thu, 5 Jan 2017 16:31:49 +0800	[thread overview]
Message-ID: <201701051637.xT2OBuHJ%fengguang.wu@intel.com> (raw)
In-Reply-To: <1483544150-10686-5-git-send-email-fw@strlen.de>

[-- Attachment #1: Type: text/plain, Size: 1725 bytes --]

Hi Florian,

[auto build test WARNING on nf-next/master]

url:    https://github.com/0day-ci/linux/commits/Florian-Westphal/netfilter-skbuff-merge-nfctinfo-bits-and-nfct-pointer/20170105-133727
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: x86_64-randconfig-b0-01051551 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   net/ipv4/netfilter/nf_dup_ipv4.c: In function 'nf_dup_ipv4':
>> net/ipv4/netfilter/nf_dup_ipv4.c:56: warning: unused variable 'untracked'

vim +/untracked +56 net/ipv4/netfilter/nf_dup_ipv4.c

    40		fl4.flowi4_flags = FLOWI_FLAG_KNOWN_NH;
    41		rt = ip_route_output_key(net, &fl4);
    42		if (IS_ERR(rt))
    43			return false;
    44	
    45		skb_dst_drop(skb);
    46		skb_dst_set(skb, &rt->dst);
    47		skb->dev      = rt->dst.dev;
    48		skb->protocol = htons(ETH_P_IP);
    49	
    50		return true;
    51	}
    52	
    53	void nf_dup_ipv4(struct net *net, struct sk_buff *skb, unsigned int hooknum,
    54			 const struct in_addr *gw, int oif)
    55	{
  > 56		struct nf_conn *untracked;
    57		struct iphdr *iph;
    58	
    59		if (this_cpu_read(nf_skb_duplicated))
    60			return;
    61		/*
    62		 * Copy the skb, and route the copy. Will later return %XT_CONTINUE for
    63		 * the original skb, which should continue on its way as if nothing has
    64		 * happened. The copy should be independently delivered to the gateway.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28934 bytes --]

      parent reply	other threads:[~2017-01-05  8:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04 15:35 [PATCH nf-next 0/4] netfilter: skbuff: merge nfctinfo bits and nfct pointer Florian Westphal
2017-01-04 15:35 ` [PATCH nf-next 1/4] netfilter: conntrack: no need to pass ctinfo to error handler Florian Westphal
2017-01-04 15:35 ` [PATCH nf-next 2/4] netfilter: reset netfilter state when duplicating packet Florian Westphal
2017-01-04 15:35 ` [PATCH nf-next 3/4] netfilter: reduce direct skb->nfct usage Florian Westphal
2017-01-04 15:35 ` [PATCH nf-next 4/4] netfilter: merge ctinfo into nfct pointer storage area Florian Westphal
2017-01-05  6:03   ` kbuild test robot
2017-01-05  8:31   ` kbuild test robot [this message]

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=201701051637.xT2OBuHJ%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=fw@strlen.de \
    --cc=kbuild-all@01.org \
    --cc=netdev@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).