Hi Michael,

On Sat, Apr 11, 2020 at 1:37 PM Michael Tuexen <tue...@freebsd.org> wrote:
>
> Author: tuexen
> Date: Sat Apr 11 20:36:54 2020
> New Revision: 359809
> URL: https://svnweb.freebsd.org/changeset/base/359809
>
> Log:
>   Zero out pointers for consistency.
>
>   This was found by running syzkaller on an INVARIANTS kernel.

For consistency?  If syzkaller found something due to INVARIANTS
sys/queue.h debugging trashing the pointer values, masking them by
writing zeroes doesn't help.  Generally, defeating the kernel's
INVARIANTS system is not wise or useful.

In this use, consider using
'TAILQ_CONCAT(&stcb->asoc.strmout[i].outqueue, &oldstream[i].outqueue,
next)' instead of the loop construct.

Conrad
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to