From: kbuild test robot <lkp@intel.com>
To: Ttttabcd <ttttabcd@protonmail.com>
Cc: kbuild-all@lists.01.org, Netdev <netdev@vger.kernel.org>,
"edumazet@google.com" <edumazet@google.com>,
David Miller <davem@davemloft.net>,
"kuznet@ms2.inr.ac.ru" <kuznet@ms2.inr.ac.ru>,
"yoshfuji@linux-ipv6.org" <yoshfuji@linux-ipv6.org>
Subject: Re: [PATCH] tcp: Fix tcp_max_syn_backlog limit on connection requests
Date: Mon, 30 Dec 2019 18:55:41 +0800 [thread overview]
Message-ID: <201912301855.45LZiSwb%lkp@intel.com> (raw)
In-Reply-To: <BJWfRScnTTecyIVZcjhEgs-tp51FEx8gFA3pa0LE6I4q7p6v9Y0AmcSYcTqeV2FURjefo7XOwj4RTM5nIM7pyv--6woYCI_DAskQGbr9ltE=@protonmail.com>
[-- Attachment #1: Type: text/plain, Size: 3066 bytes --]
Hi Ttttabcd,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net/master]
[also build test WARNING on net-next/master ipvs/master v5.5-rc4 next-20191220]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Ttttabcd/tcp-Fix-tcp_max_syn_backlog-limit-on-connection-requests/20191230-164004
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git bb3d0b8bf5be61ab1d6f472c43cbf34de17e796b
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/asm-generic/bug.h:19:0,
from ./arch/um/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:9,
from net/ipv4/tcp_input.c:67:
net/ipv4/tcp_input.c: In function 'tcp_conn_request':
include/linux/kernel.h:844:29: warning: comparison of distinct pointer types lacks a cast
(!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
^
include/linux/kernel.h:858:4: note: in expansion of macro '__typecheck'
(__typecheck(x, y) && __no_side_effects(x, y))
^~~~~~~~~~~
include/linux/kernel.h:868:24: note: in expansion of macro '__safe_cmp'
__builtin_choose_expr(__safe_cmp(x, y), \
^~~~~~~~~~
include/linux/kernel.h:877:19: note: in expansion of macro '__careful_cmp'
#define min(x, y) __careful_cmp(x, y, <)
^~~~~~~~~~~~~
>> net/ipv4/tcp_input.c:6568:20: note: in expansion of macro 'min'
max_syn_backlog = min(net->ipv4.sysctl_max_syn_backlog,
^~~
vim +/min +6568 net/ipv4/tcp_input.c
6551
6552 int tcp_conn_request(struct request_sock_ops *rsk_ops,
6553 const struct tcp_request_sock_ops *af_ops,
6554 struct sock *sk, struct sk_buff *skb)
6555 {
6556 struct tcp_fastopen_cookie foc = { .len = -1 };
6557 __u32 isn = TCP_SKB_CB(skb)->tcp_tw_isn;
6558 struct tcp_options_received tmp_opt;
6559 struct tcp_sock *tp = tcp_sk(sk);
6560 struct net *net = sock_net(sk);
6561 struct sock *fastopen_sk = NULL;
6562 struct request_sock *req;
6563 bool want_cookie = false;
6564 struct dst_entry *dst;
6565 int max_syn_backlog;
6566 struct flowi fl;
6567
> 6568 max_syn_backlog = min(net->ipv4.sysctl_max_syn_backlog,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 8440 bytes --]
next prev parent reply other threads:[~2019-12-30 10:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-30 7:38 [PATCH] tcp: Fix tcp_max_syn_backlog limit on connection requests Ttttabcd
2019-12-30 10:55 ` kbuild test robot [this message]
2019-12-30 12:03 ` Ttttabcd
2019-12-30 12:38 ` Jose Abreu
2019-12-30 13:05 ` Ttttabcd
2019-12-30 21:53 ` kbuild test robot
2019-12-31 0:22 ` Ttttabcd
2019-12-31 0:54 ` David Miller
2019-12-31 1:15 ` Ttttabcd
2020-01-02 9:08 ` [tcp] abda73240d: apachebench.requests_per_second 14.3% improvement kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2019-12-31 1:21 [PATCH] tcp: Fix tcp_max_syn_backlog limit on connection requests Ttttabcd
2020-01-03 0:19 ` David Miller
2020-01-03 0:38 ` Ttttabcd
2020-01-03 12:14 ` Eric Dumazet
2020-01-03 13:07 ` Ttttabcd
2020-01-03 13:19 ` Ttttabcd
2020-01-03 13:52 ` Eric Dumazet
2020-01-03 15:13 ` Ttttabcd
2020-01-03 15:26 ` Ttttabcd
2020-01-09 14:09 ` Ttttabcd
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=201912301855.45LZiSwb%lkp@intel.com \
--to=lkp@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kbuild-all@lists.01.org \
--cc=kuznet@ms2.inr.ac.ru \
--cc=netdev@vger.kernel.org \
--cc=ttttabcd@protonmail.com \
--cc=yoshfuji@linux-ipv6.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).