summaryrefslogtreecommitdiffstats
path: root/lib/libkvm
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2001-01-31 05:43:07 +0000
committerjason <jason@openbsd.org>2001-01-31 05:43:07 +0000
commit1e97e722d172609b8ff30a765f65d8e50f536ea9 (patch)
tree23e8bbc3aeba965186cbdb109a78f88a6ecea57e /lib/libkvm
parentbefore copying the packet header, make sure we actually got the mbuf (diff)
downloadwireguard-openbsd-1e97e722d172609b8ff30a765f65d8e50f536ea9.tar.xz
wireguard-openbsd-1e97e722d172609b8ff30a765f65d8e50f536ea9.zip
Allocate a new mbuf for the header info (struct ip + one, stupid, byte).
This works around the fact that M_PREPEND() with a non-word sized length can leave m->m_data pointing to a non-word aligned address.
Diffstat (limited to 'lib/libkvm')
0 files changed, 0 insertions, 0 deletions