Re: [syzbot] [netfilter?] net-next test error: WARNING: suspicious RCU usage in _destroy_all_sets

From: syzbot
Date: Fri Jun 14 2024 - 06:18:37 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

net/netfilter/ipset/ip_set_core.c:60:4: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
net/netfilter/ipset/ip_set_core.c:60:9: error: expected ';' after top level declarator
net/netfilter/ipset/ip_set_core.c:235:2: error: call to undeclared function 'ip_set_type_lock'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
net/netfilter/ipset/ip_set_core.c:236:7: error: call to undeclared function 'find_set_type'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
net/netfilter/ipset/ip_set_core.c:240:3: error: call to undeclared function 'ip_set_type_unlock'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
net/netfilter/ipset/ip_set_core.c:246:2: error: call to undeclared function 'ip_set_type_unlock'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
net/netfilter/ipset/ip_set_core.c:905:8: error: unterminated function-like macro invocation
net/netfilter/ipset/ip_set_core.c:2453:69: error: expected expression
net/netfilter/ipset/ip_set_core.c:2453:69: error: expected '}'


Tested on:

commit: 0e728dae netfilter: ipset: Fix suspicious rcu_derefere..
git tree: git://blackhole.szhk.kfki.hu/nf main
kernel config: https://syzkaller.appspot.com/x/.config?x=7266aeba025a54a4
dashboard link: https://syzkaller.appspot.com/bug?extid=cfbe1da5fdfc39efc293
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

Note: no patches were applied.