]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Fix mbuf/node leakage in drivers' raw_xmit().
authorSepherosa Ziehau <sephe@FreeBSD.org>
Thu, 19 Apr 2007 13:09:57 +0000 (13:09 +0000)
committerSepherosa Ziehau <sephe@FreeBSD.org>
Thu, 19 Apr 2007 13:09:57 +0000 (13:09 +0000)
commitb03cfe239638b8b94b3e652a9184ffbf372ed25d
treefc56ac28bfefae2cf5891d951a7412389926f895
parentf1f73e57181121beb7ddf1fe5cf67609cf6eadc1
- 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)
sys/dev/ath/if_ath.c
sys/dev/ral/rt2560.c
sys/dev/usb/if_ural.c
sys/dev/wi/if_wi.c