diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2007-09-26 13:10:00 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2007-09-26 13:10:00 +0000 |
commit | 3eebc6af8e34b225bed1c37a778ce7f61cc59e84 (patch) | |
tree | b501f5ab6c6ee9abe530da407b046dcaf6d360d8 /sys/dev/wscons/wscons_callbacks.h | |
parent | 840875529f90055d075f45cd3b26a4ec8ad20d44 (diff) |
ep(4) is totally weird. due to hardware design limitations it plays
wierd games with caching mbufs. as part of that it used regular mbufs
and makes them M_PKTHDR mbufs on the fly, instead of calling m_gethdr.
of course it did it hackish and wrong and did not properly initialize
the pkthdr fields, which stated to cause problems as soon as we started
to stuff more into the packet header.
so use the freshly introduced m_inithdr() to make the mbuf a pktdr mbuf.
problem found + analyzed by janjaap@stack.nl PR5563, input theo, ok claudio
Diffstat (limited to 'sys/dev/wscons/wscons_callbacks.h')
0 files changed, 0 insertions, 0 deletions