diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-12-30 22:43:02 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-12-30 22:43:02 +0000 |
commit | 631e97bb25e5dc9cfda3af9cba2b2679c10084fe (patch) | |
tree | 14c93a04ddfb945175ffd923ba827977102ff174 /sys/netinet | |
parent | 176ba5afb38ff8c1af0458556877f76175414932 (diff) |
Don't use M_DUP_PKTHDR() on static mbufs. M_DUP_PKTHDR() copies the mtag
chain and so a later MFREE() is needed to free the chain again.
Just initialize a minimal mbuf header for bpf_mtap().
See earlier rum(4) commit for the full story.
OK mglocker@ Sounds good jsg@
Diffstat (limited to 'sys/netinet')
0 files changed, 0 insertions, 0 deletions