Re: [PATCH 2/2] tcp: md5: export all configured signature keys in /proc/net
From: kbuild test robot
Date: Sat Jun 24 2017 - 21:39:08 EST
Hi Ivan,
[auto build test ERROR on net/master]
[also build test ERROR on v4.12-rc6 next-20170623]
[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-add-mode-parameter-to-tcp_proc_register/20170625-070707
config: x86_64-randconfig-x019-06250446 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
net/ipv4/tcp.c: In function 'do_md5_seq_print_key':
net/ipv4/tcp.c:3300:53: error: 'const struct tcp_md5sig_key' has no member named 'prefixlen'
seq_printf(seq, "%39pI4/%-3u ", &key->addr.a4, key->prefixlen);
^~
>> net/ipv4/tcp.c:3302:46: error: 'const union tcp_md5_addr' has no member named 'a6'; did you mean 'a4'?
seq_printf(seq, "%39pI6c/%-3u ", &key->addr.a6, key->prefixlen);
^
net/ipv4/tcp.c:3302:54: error: 'const struct tcp_md5sig_key' has no member named 'prefixlen'
seq_printf(seq, "%39pI6c/%-3u ", &key->addr.a6, key->prefixlen);
^~
vim +3302 net/ipv4/tcp.c
3294 {
3295 if (key->keylen == 0)
3296 return;
3297
3298 seq_printf(seq, "%4d: %6lu ", st->num, ino);
3299 if (key->family == AF_INET)
> 3300 seq_printf(seq, "%39pI4/%-3u ", &key->addr.a4, key->prefixlen);
3301 else
> 3302 seq_printf(seq, "%39pI6c/%-3u ", &key->addr.a6, key->prefixlen);
3303 seq_printf(seq, "%*pE\n", key->keylen, key->key);
3304 }
3305
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip