summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mrouted
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-07-23 18:46:24 +0000
committerwpaul <wpaul@FreeBSD.org>1999-07-23 18:46:24 +0000
commite4620300d62667d571e600e6ecb2f9612cd79c16 (patch)
treee0a4676a6116d6b756492d18b4d27db6412d766b /usr.sbin/mrouted
parentb934da313fb54901baae33b34494eafd440c1904 (diff)
downloadFreeBSD-src-e4620300d62667d571e600e6ecb2f9612cd79c16.zip
FreeBSD-src-e4620300d62667d571e600e6ecb2f9612cd79c16.tar.gz
Clean up the buffer allocation code a bit. Make sure to initialize certain
critical mbuf fields to sane values. Simplify the use of ETHER_ALIGN to enforce payload alignment, and turn it on on the x86 as well as alpha since it helps with NFS which wants the payload to be longword aligned even though the hardware doesn't require it. This fixes a problem with the ti driver causing an unaligned access trap on the Alpha due to m_adj() sometimes not setting the alignment correctly because of incomplete mbuf initialization.
Diffstat (limited to 'usr.sbin/mrouted')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud