netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Yigal Reiss (yreiss)" <yreiss@cisco.com>
Cc: kbuild-all@01.org,
	"'netdev@vger.kernel.org'" <netdev@vger.kernel.org>,
	"netfilter-devel@vger.kernel.org"
	<netfilter-devel@vger.kernel.org>,
	"Florian Westphal (fw@strlen.de)" <fw@strlen.de>
Subject: Re: [PATCH] change nfqueue fail-open mechanism to apply also to receive message
Date: Sun, 20 Mar 2016 16:16:30 +0800	[thread overview]
Message-ID: <201603201651.4jjiMCel%fengguang.wu@intel.com> (raw)
In-Reply-To: <1f5ee28787f147b4bf682f16a99254ac@XCH-RTP-014.cisco.com>

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

Hi Yigal,

[auto build test WARNING on v4.5-rc7]
[cannot apply to nf-next/master net-next/master next-20160318]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Yigal-Reiss-yreiss/change-nfqueue-fail-open-mechanism-to-apply-also-to-receive-message/20160320-160132
config: xtensa-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

   net/netlink/af_netlink.c: In function 'netlink_unicast_nofree':
>> net/netlink/af_netlink.c:1876:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if (err = sk_filter(sk, skb)) {
     ^

vim +1876 net/netlink/af_netlink.c

  1860	{
  1861		struct sock *sk;
  1862		int err;
  1863		long timeo;
  1864	
  1865		skb = netlink_trim(skb, gfp_any());
  1866	
  1867		timeo = sock_sndtimeo(ssk, nonblock);
  1868	retry:
  1869		sk = netlink_getsockbyportid(ssk, portid);
  1870		if (IS_ERR(sk)) {
  1871			return PTR_ERR(sk);
  1872		}
  1873		if (netlink_is_kernel(sk))
  1874			return netlink_unicast_kernel(sk, skb, ssk);
  1875	
> 1876		if (err = sk_filter(sk, skb)) {
  1877			sock_put(sk);
  1878			return err;
  1879		}
  1880	
  1881		err = netlink_attachskb_nofree(sk, skb, &timeo, ssk);
  1882		if (err == 1)
  1883			goto retry;
  1884		if (err)

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 44058 bytes --]

      reply	other threads:[~2016-03-20  8:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-20  7:59 [PATCH] change nfqueue fail-open mechanism to apply also to receive message Yigal Reiss (yreiss)
2016-03-20  8:16 ` 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=201603201651.4jjiMCel%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 \
    --cc=yreiss@cisco.com \
    /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).