freebsd-nq/sys/dev/if_ndis
Bill Paul e6003d0862 The private data section of ndis_packets has a 'packet flags' byte
which has two important flags in it: the 'allocated by NDIS' flag
and the 'media specific info present' flag. There are two Windows macros
for getting/setting media specific info fields within the ndis_packet
structure which can behave improperly if these flags are not initialized
correctly when a packet is allocated. It seems the correct thing
to do is always set the NDIS_PACKET_ALLOCATED_BY_NDIS flag on
all newly allocated packets.

This fixes the crashes with the Intel Centrino wireless driver.
My sample card now seems to work correctly.

Also, fix a potential LOR involving ndis_txeof() in if_ndis.c.
2004-01-09 06:53:49 +00:00
..
if_ndis.c The private data section of ndis_packets has a 'packet flags' byte 2004-01-09 06:53:49 +00:00
if_ndisvar.h Correct the definition of the ndis_miniport_interrupt structure: 2004-01-08 10:44:37 +00:00