cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/ral rt2560.c src/sys/dev/usb if_ural.c src/sys/dev/wi if_wi.c

Sepherosa Ziehau sephe at FreeBSD.org
Thu Apr 19 13:09:57 UTC 2007


sephe       2007-04-19 13:09:57 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ath          if_ath.c 
    sys/dev/ral          rt2560.c 
    sys/dev/usb          if_ural.c 
    sys/dev/wi           if_wi.c 
  Log:
  - Fix mbuf/node leakage in drivers' raw_xmit().
  - For ural(4):
    o  Fix node leakage in ural_start(), if ural_tx_mgt() fails.
    o  Fix mbuf leakage in ural_tx_{mgt,data}(), if usbd_transfer() fails.
    o  In ural_tx_{mgt,data}(), set ural_tx_data.{m,ni} to NULL, if
       usbd_transfer() fails, so they will not be freed again in ural_stop().
  
  Approved by:    sam (mentor)
  
  Revision  Changes    Path
  1.165     +2 -0      src/sys/dev/ath/if_ath.c
  1.11      +7 -1      src/sys/dev/ral/rt2560.c
  1.51      +22 -6     src/sys/dev/usb/if_ural.c
  1.206     +8 -7      src/sys/dev/wi/if_wi.c


More information about the cvs-src mailing list