Hi,
On 20.09.2017 14:28, George Brown wrote:
I can reproduce this after updating to the Sept 18th snapshot, I did
not
observe this on my Aug 20 snapshot install if that aids in narrowing
down when this was introduced.
I am by no means a kernel developer but I would assume that the bug has
been introduced in the following commit:
Author: mpi <m...@openbsd.org>
Date: Fri Sep 1 15:05:31 2017 +0000
Change sosetopt() to no longer free the mbuf it receives and change
all the callers to call m_freem(9).
From the diff it seems a call to m_dup_pkt() snuck in:
- goto bad;
- *pcbopt = m;
- return (0);
+ return (EINVAL);
+ *pcbopt = m_dup_pkt(m, 0, M_NOWAIT);
+ if (*pcbopt == NULL)
+ return (ENOBUFS);
Cheers
Matthias