tree: https://github.com/ammarfaizi2/linux-block netdev/net-next/master head: d9282e48c6088105a98b98153a707fdbcdbf75b1 commit: d9282e48c6088105a98b98153a707fdbcdbf75b1 [5/5] tcp: Add listening address to SYN flood message config: um-i386_defconfig compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/d9282e48c6088105a98b98153a707fdbcdbf75b1 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block netdev/net-next/master git checkout d9282e48c6088105a98b98153a707fdbcdbf75b1 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/asm-generic/bug.h:22, 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:6, from net/ipv4/tcp_input.c:67: net/ipv4/tcp_input.c: In function 'tcp_syn_flood_action': >> include/net/sock.h:387:37: error: 'const struct sock_common' has no member named 'skc_v6_rcv_saddr'; did you mean 'skc_rcv_saddr'? 387 | #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr | ^~~~~~~~~~~~~~~~ include/linux/printk.h:429:33: note: in definition of macro 'printk_index_wrap' 429 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~ include/linux/printk.h:530:9: note: in expansion of macro 'printk' 530 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ include/linux/net.h:272:17: note: in expansion of macro 'pr_info' 272 | function(__VA_ARGS__); \ | ^~~~~~~~ include/linux/net.h:288:9: note: in expansion of macro 'net_ratelimited_function' 288 | net_ratelimited_function(pr_info, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/net.h:288:50: note: in expansion of macro 'sk_v6_rcv_saddr' 288 | net_ratelimited_function(pr_info, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ net/ipv4/tcp_input.c:6847:25: note: in expansion of macro 'net_info_ratelimited' 6847 | net_info_ratelimited("%s: Possible SYN flooding on port [%pI6c]:%u. %s.\n", | ^~~~~~~~~~~~~~~~~~~~ vim +387 include/net/sock.h 4dc6dc7162c08b Eric Dumazet 2009-07-15 366 68835aba4d9b74 Eric Dumazet 2010-11-30 367 #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin 68835aba4d9b74 Eric Dumazet 2010-11-30 368 #define sk_dontcopy_end __sk_common.skc_dontcopy_end 4dc6dc7162c08b Eric Dumazet 2009-07-15 369 #define sk_hash __sk_common.skc_hash 5080546682bae3 Eric Dumazet 2013-10-02 370 #define sk_portpair __sk_common.skc_portpair 05dbc7b59481ca Eric Dumazet 2013-10-03 371 #define sk_num __sk_common.skc_num 05dbc7b59481ca Eric Dumazet 2013-10-03 372 #define sk_dport __sk_common.skc_dport 5080546682bae3 Eric Dumazet 2013-10-02 373 #define sk_addrpair __sk_common.skc_addrpair 5080546682bae3 Eric Dumazet 2013-10-02 374 #define sk_daddr __sk_common.skc_daddr 5080546682bae3 Eric Dumazet 2013-10-02 375 #define sk_rcv_saddr __sk_common.skc_rcv_saddr ^1da177e4c3f41 Linus Torvalds 2005-04-16 376 #define sk_family __sk_common.skc_family ^1da177e4c3f41 Linus Torvalds 2005-04-16 377 #define sk_state __sk_common.skc_state ^1da177e4c3f41 Linus Torvalds 2005-04-16 378 #define sk_reuse __sk_common.skc_reuse 055dc21a1d1d21 Tom Herbert 2013-01-22 379 #define sk_reuseport __sk_common.skc_reuseport 9fe516ba3fb29b Eric Dumazet 2014-06-27 380 #define sk_ipv6only __sk_common.skc_ipv6only 26abe14379f8e2 Eric W. Biederman 2015-05-08 381 #define sk_net_refcnt __sk_common.skc_net_refcnt ^1da177e4c3f41 Linus Torvalds 2005-04-16 382 #define sk_bound_dev_if __sk_common.skc_bound_dev_if ^1da177e4c3f41 Linus Torvalds 2005-04-16 383 #define sk_bind_node __sk_common.skc_bind_node 8feaf0c0a5488b Arnaldo Carvalho de Melo 2005-08-09 384 #define sk_prot __sk_common.skc_prot 07feaebfcc10cd Eric W. Biederman 2007-09-12 385 #define sk_net __sk_common.skc_net efe4208f47f907 Eric Dumazet 2013-10-03 386 #define sk_v6_daddr __sk_common.skc_v6_daddr efe4208f47f907 Eric Dumazet 2013-10-03 @387 #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr 33cf7c90fe2f97 Eric Dumazet 2015-03-11 388 #define sk_cookie __sk_common.skc_cookie 70da268b569d32 Eric Dumazet 2015-10-08 389 #define sk_incoming_cpu __sk_common.skc_incoming_cpu 8e5eb54d303b7c Eric Dumazet 2015-10-08 390 #define sk_flags __sk_common.skc_flags ed53d0ab761f5c Eric Dumazet 2015-10-08 391 #define sk_rxhash __sk_common.skc_rxhash efe4208f47f907 Eric Dumazet 2013-10-03 392 43f51df4172955 Eric Dumazet 2021-11-15 393 /* early demux fields */ 8b3f91332291fa Jakub Kicinski 2021-12-23 394 struct dst_entry __rcu *sk_rx_dst; 43f51df4172955 Eric Dumazet 2021-11-15 395 int sk_rx_dst_ifindex; 43f51df4172955 Eric Dumazet 2021-11-15 396 u32 sk_rx_dst_cookie; 43f51df4172955 Eric Dumazet 2021-11-15 397 ^1da177e4c3f41 Linus Torvalds 2005-04-16 398 socket_lock_t sk_lock; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 399 atomic_t sk_drops; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 400 int sk_rcvlowat; 9115e8cd2a0c6e Eric Dumazet 2016-12-03 401 struct sk_buff_head sk_error_queue; b178bb3dfc30d9 Eric Dumazet 2010-11-16 402 struct sk_buff_head sk_receive_queue; fa438ccfdfd3f6 Eric Dumazet 2007-03-04 403 /* fa438ccfdfd3f6 Eric Dumazet 2007-03-04 404 * The backlog queue is special, it is always used with fa438ccfdfd3f6 Eric Dumazet 2007-03-04 405 * the per-socket spinlock held and requires low latency fa438ccfdfd3f6 Eric Dumazet 2007-03-04 406 * access. Therefore we special case it's implementation. b178bb3dfc30d9 Eric Dumazet 2010-11-16 407 * Note : rmem_alloc is in this structure to fill a hole b178bb3dfc30d9 Eric Dumazet 2010-11-16 408 * on 64bit arches, not because its logically part of b178bb3dfc30d9 Eric Dumazet 2010-11-16 409 * backlog. fa438ccfdfd3f6 Eric Dumazet 2007-03-04 410 */ fa438ccfdfd3f6 Eric Dumazet 2007-03-04 411 struct { b178bb3dfc30d9 Eric Dumazet 2010-11-16 412 atomic_t rmem_alloc; b178bb3dfc30d9 Eric Dumazet 2010-11-16 413 int len; fa438ccfdfd3f6 Eric Dumazet 2007-03-04 414 struct sk_buff *head; fa438ccfdfd3f6 Eric Dumazet 2007-03-04 415 struct sk_buff *tail; fa438ccfdfd3f6 Eric Dumazet 2007-03-04 416 } sk_backlog; f35f821935d8df Eric Dumazet 2021-11-15 417 :::::: The code at line 387 was first introduced by commit :::::: efe4208f47f907b86f528788da711e8ab9dea44d ipv6: make lookups simpler and faster :::::: TO: Eric Dumazet :::::: CC: David S. Miller -- 0-DAY CI Kernel Test Service https://01.org/lkp