cvs commit: src/sys/dev/ral if_ral.c

Damien Bergamini damien at FreeBSD.org
Wed Jun 29 17:54:02 GMT 2005


damien      2005-06-29 17:54:01 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ral          if_ral.c 
  Log:
  o Fix a write mbuf-after-free bug.  The duration field of the 802.11 header
    was written in the old fragmented mbuf chain instead of the defragmented
    one.  Thus, the duration field of outgoing frames was incorrect.
  
  o Only call m_defrag() if the mbuf fragmentation threshold is greater
    than what is currently supported by the driver.
  
  Reviewed by:    silby (mentor)
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.4       +23 -9     src/sys/dev/ral/if_ral.c


More information about the cvs-src mailing list