Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2004 22:53:49 -0800 (PST)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/ndis kern_ndis.c ndis_var.h subr_ndis.c src/sys/dev/if_ndis if_ndis.c
Message-ID:  <200401090653.i096rnI6057030@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       2004/01/08 22:53:49 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      kern_ndis.c ndis_var.h subr_ndis.c 
    sys/dev/if_ndis      if_ndis.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.25      +1 -0      src/sys/compat/ndis/kern_ndis.c
  1.14      +4 -0      src/sys/compat/ndis/ndis_var.h
  1.32      +7 -0      src/sys/compat/ndis/subr_ndis.c
  1.25      +2 -4      src/sys/dev/if_ndis/if_ndis.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401090653.i096rnI6057030>