When setting up advanced TX descriptor use m_getptr to locate the IP
authormikeb <mikeb@openbsd.org>
Mon, 12 Jan 2015 10:40:51 +0000 (10:40 +0000)
committermikeb <mikeb@openbsd.org>
Mon, 12 Jan 2015 10:40:51 +0000 (10:40 +0000)
commit348a9615c2bd23ceac38e094a0b4f746d263b572
tree495d097f382e95704208aa6cb3da161afaebd2fb
parentae92b999c0206cae668c6ab7e67f5f31090df56a
When setting up advanced TX descriptor use m_getptr to locate the IP
or IPv6 header instead of assuming contiguousness of the target buffer
across Ethernet and IP/IPv6 headers.

Tested by Kapetanakis Giannis <bilias at edu ! physics ! uoc ! gr>,
thanks!  Problem analysis and initial diff by dlg@.
sys/dev/pci/if_ix.c