mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Ivan Delalande <colona@arista.com>
Cc: kbuild-all@01.org, David Miller <davem@davemloft.net>,
	Eric Dumazet <eric.dumazet@gmail.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Ivan Delalande <colona@arista.com>
Subject: Re: [PATCH v2 1/2] tcp: md5: add an address prefix for key lookup
Date: Mon, 12 Jun 2017 09:20:40 +0800	[thread overview]
Message-ID: <201706120939.EWdaaCZb%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170610021449.16091-1-colona@arista.com>

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

Hi Ivan,

[auto build test WARNING on net/master]
[also build test WARNING on v4.12-rc4 next-20170609]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Ivan-Delalande/tcp-md5-add-an-address-prefix-for-key-lookup/20170611-184237
config: x86_64-randconfig-s2-06120830 (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/tcp_ipv4.c: In function 'tcp_md5_do_lookup':
>> net//ipv4/tcp_ipv4.c:908: warning: unused variable 'size'

vim +/size +908 net//ipv4/tcp_ipv4.c

^1da177e4 Linus Torvalds       2005-04-16  892  }
^1da177e4 Linus Torvalds       2005-04-16  893  
cfb6eeb4c YOSHIFUJI Hideaki    2006-11-14  894  #ifdef CONFIG_TCP_MD5SIG
cfb6eeb4c YOSHIFUJI Hideaki    2006-11-14  895  /*
cfb6eeb4c YOSHIFUJI Hideaki    2006-11-14  896   * RFC2385 MD5 checksumming requires a mapping of
cfb6eeb4c YOSHIFUJI Hideaki    2006-11-14  897   * IP address->MD5 Key.
cfb6eeb4c YOSHIFUJI Hideaki    2006-11-14  898   * We need to maintain these in the sk structure.
cfb6eeb4c YOSHIFUJI Hideaki    2006-11-14  899   */
cfb6eeb4c YOSHIFUJI Hideaki    2006-11-14  900  
cfb6eeb4c YOSHIFUJI Hideaki    2006-11-14  901  /* Find the Key structure for an address.  */
b83e3deb9 Eric Dumazet         2015-09-25  902  struct tcp_md5sig_key *tcp_md5_do_lookup(const struct sock *sk,
a915da9b6 Eric Dumazet         2012-01-31  903  					 const union tcp_md5_addr *addr,
a915da9b6 Eric Dumazet         2012-01-31  904  					 int family)
cfb6eeb4c YOSHIFUJI Hideaki    2006-11-14  905  {
fd3a154a0 Eric Dumazet         2015-03-24  906  	const struct tcp_sock *tp = tcp_sk(sk);
a915da9b6 Eric Dumazet         2012-01-31  907  	struct tcp_md5sig_key *key;
a915da9b6 Eric Dumazet         2012-01-31 @908  	unsigned int size = sizeof(struct in_addr);
fd3a154a0 Eric Dumazet         2015-03-24  909  	const struct tcp_md5sig_info *md5sig;
4b9e1d2ec Ivan Delalande       2017-06-09  910  	__be32 mask;
4b9e1d2ec Ivan Delalande       2017-06-09  911  	struct tcp_md5sig_key *best_match = NULL;
4b9e1d2ec Ivan Delalande       2017-06-09  912  	bool match;
cfb6eeb4c YOSHIFUJI Hideaki    2006-11-14  913  
a8afca032 Eric Dumazet         2012-01-31  914  	/* caller either holds rcu_read_lock() or socket lock */
a8afca032 Eric Dumazet         2012-01-31  915  	md5sig = rcu_dereference_check(tp->md5sig_info,
1e1d04e67 Hannes Frederic Sowa 2016-04-05  916  				       lockdep_sock_is_held(sk));

:::::: The code at line 908 was first introduced by commit
:::::: a915da9b69273815527ccb3789421cb7027b545b tcp: md5: rcu conversion

:::::: TO: Eric Dumazet <eric.dumazet@gmail.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
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: 29973 bytes --]

  parent reply	other threads:[~2017-06-12  1:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-07  0:54 [PATCH " Ivan Delalande
2017-06-07  0:54 ` [PATCH 2/2] tcp: md5: add fields to the tcp_md5sig struct to set a key address prefix Ivan Delalande
2017-06-07  4:08   ` Eric Dumazet
2017-06-07  6:13     ` Ivan Delalande
2017-06-07 12:51       ` Eric Dumazet
2017-06-10  2:14 ` [PATCH v2 1/2] tcp: md5: add an address prefix for key lookup Ivan Delalande
2017-06-10  2:14   ` [PATCH v2 2/2] tcp: md5: extend the tcp_md5sig struct to specify a key address prefix Ivan Delalande
2017-06-10 22:58     ` David Miller
2017-06-12 22:49       ` Ivan Delalande
2017-06-12  1:20   ` kbuild test robot [this message]
2017-06-16  1:07   ` [PATCH v3 1/2] tcp: md5: add an address prefix for key lookup Ivan Delalande
2017-06-16  1:07     ` [PATCH v3 2/2] tcp: md5: add TCP_MD5SIG_EXT socket option to set a key address prefix Ivan Delalande
2017-06-19 17:52       ` David Miller
2017-06-19 17:51     ` [PATCH v3 1/2] tcp: md5: add an address prefix for key lookup David Miller

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=201706120939.EWdaaCZb%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=colona@arista.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@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

all inboxes | Powered by JetHome®