summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2006-12-21 19:58:04 +0000
committerrrs <rrs@FreeBSD.org>2006-12-21 19:58:04 +0000
commitc427816562e439f54793d30e6f0e60444b39fd5c (patch)
treea3f5c2f693a1ae647958fbbf316232b4837e69c6 /sys/cam
parentc1ad055a2e7a497b485b197df17c0dab46449c9d (diff)
downloadFreeBSD-src-c427816562e439f54793d30e6f0e60444b39fd5c.zip
FreeBSD-src-c427816562e439f54793d30e6f0e60444b39fd5c.tar.gz
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
Diffstat (limited to 'sys/cam')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud