/usr/src/sys/netinet/in_pcb.c:1812:12: error: implicit declaration of function 'TRY_INP_RLOCK' is invalid in C99 [-Werror,-Wimplicit-function-declaration] # grep -R "TRY_INP_WLOCK" /usr/src/sys /usr/src/sys/netinet/in_pcb.c: locked = TRY_INP_WLOCK(inp); # grep -R "TRY_INP_RLOCK" /usr/src/sys /usr/src/sys/netinet/in_pcb.c: locked = TRY_INP_RLOCK(inp);
Over to committer of r332821.
As the committer of r332821, I own this. I ensured the code built when I committed it. However, I don't have the PCBGROUP option defined. The bad code is within that block. I'll MFC r331745, which should fix it.
A commit references this bug: Author: jtl Date: Mon Apr 23 14:22:16 UTC 2018 New revision: 332889 URL: https://svnweb.freebsd.org/changeset/base/332889 Log: MFC r331745 (by np): Fix RSS build (broken in r331309). Sponsored by: Chelsio Communications PR: 227691 Pointy-hat to: jtl Changes: _U stable/11/ stable/11/sys/netinet/in_pcb.c
This should now be fixed.
Yes, thanks.