diff options
author | wpaul <wpaul@FreeBSD.org> | 2004-01-09 06:53:49 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2004-01-09 06:53:49 +0000 |
commit | 1d43d52f79cad462e21256035e4900d91531600a (patch) | |
tree | c1685459398a5b77abead4f6bc795a0c457d1d40 /crypto/openssh | |
parent | b676d86e23eec800e52a40be2803231c60b1e57f (diff) | |
download | FreeBSD-src-1d43d52f79cad462e21256035e4900d91531600a.zip FreeBSD-src-1d43d52f79cad462e21256035e4900d91531600a.tar.gz |
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.
Diffstat (limited to 'crypto/openssh')
0 files changed, 0 insertions, 0 deletions