diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-11-24 14:18:22 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-11-24 14:18:22 +0000 |
commit | 6ef1778ae44a1c584fffb4f07604262b2596f010 (patch) | |
tree | db1ab4fee466a2353983047668dd87b70a68a617 /usr.bin/mg | |
parent | cb43f1ab6533ceee44191260f6ed9d47b19cf001 (diff) |
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 'usr.bin/mg')
0 files changed, 0 insertions, 0 deletions