diff options
author | 2009-11-24 14:18:21 +0000 | |
---|---|---|
committer | 2009-11-24 14:18:21 +0000 | |
commit | 2c25273e729944fe3b53251733157c401b526518 (patch) | |
tree | dbca1e6ae7ccfebfba50e1fdfaf583dacd331fac /lib | |
parent | KSEG->CKSEG fallout. (diff) | |
download | wireguard-openbsd-2c25273e729944fe3b53251733157c401b526518.tar.xz wireguard-openbsd-2c25273e729944fe3b53251733157c401b526518.zip |
msk_newbuf() had an off by one when putting the packet onto the cluster
and cleared the mbuf pointer of the next element, causing a mbuf leak.
While there also ensure that the valid bit of the first buffer is only set
when the full chain got assembled.
Tested by jmc@, ok kettenis@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions