cvs commit: src/sys/kern uipc_mbuf.c
rrs at FreeBSD.org
Thu Dec 21 11:58:05 PST 2006
rrs 2006-12-21 19:58:04 UTC
FreeBSD src repository
The prepend function did not handle non-pkthdr's correctly.
It always called MH_ALIGN for small lengths being
prepended (less than MHLEN). This meant that if you did
a prepend on a non M_PKTHDR the system would panic with
the KASSERT in MH_ALIGN. Instead we are not aware of
this and do a MH_ALIGN or M_ALIGN as appropriate.
Reviewed by: andre
Approved by: gnn
Revision Changes Path
1.170 +7 -2 src/sys/kern/uipc_mbuf.c
More information about the cvs-all