freebsd-dev/sys/dev
Andriy Voskoboinyk 532a0e9ca0 urtwn: fix memory leak on device restart
Free data buffers every time when device is stopped, not when
it is detached; they are allocated at the initialization stage.

How-to-reproduce:
1) ifconfig wlan0 create wlandev urtwn0 up
2) vmstat -m | grep USBdev
3) service netif restart
4) vmstat -m | grep USBdev

Also, remove usbd_transfer_drain() call; it is already called by
usbd_transfer_unsetup().

Tested with RTL8188CUS, STA mode.

Approved by:	re (marius)
2016-06-24 23:36:22 +00:00
..
aac
aacraid
acpi_support Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
acpica Fix a minor leak in ACPI thermal 2016-06-07 19:08:13 +00:00
adb
adlink
advansys
ae
age
agp
aha
ahb
ahci Add support for managing Shingled Magnetic Recording (SMR) drives. 2016-05-19 14:08:36 +00:00
aic
aic7xxx
alc
ale
alpm
altera
amdpm
amdsbwd
amdsmb
amdtemp Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
amr
an Reject ioctl commands for FLSHGCHR and FLSHPCHR if the size is greater 2016-05-24 13:57:23 +00:00
arcmsr
asmc
ata
ath [ath] fix comments! 2016-06-23 00:54:14 +00:00
atkbdc Use OF_prop_free instead of direct call to free(9) 2016-05-18 23:39:31 +00:00
auxio
bce
beri
bfe
bge bge: Force chipid to 5720 A0 for 5717 C0 in an early place 2016-06-01 05:15:11 +00:00
bhnd revert error commit from previous commit. my bad! 2016-06-23 01:15:35 +00:00
bktr
bm
buslogic
bvm
bwi bwi: switch to ieee80211_add_channel_list_2ghz(). 2016-05-26 16:48:20 +00:00
bwn [bwn] don't use a 1MB CCK RTS frame for 11a OFDM transmissions. 2016-06-06 07:09:02 +00:00
bxe
cadence
cardbus
cas
ce
cesa Use proper interface for FDT parsing and memory mapping in CESA 2016-06-03 18:54:16 +00:00
cfe
cfi
ciss Update some of the TBD entries in ciss(4) to match what's in the pci 2016-05-24 01:42:21 +00:00
cm
cmx
coretemp Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
cp
cpuctl Always allow loading of cpuctl(4). When a CPU feature is not 2016-06-16 12:07:40 +00:00
cpufreq
cs
ct
ctau
cx
cxgb net: Use M_HASHTYPE_OPAQUE_HASH if the mbuf flowid has hash properties 2016-06-07 04:51:50 +00:00
cxgbe cxgbe(4): Merge netmap support from the ncxgbe/ncxl interfaces to the 2016-06-23 02:53:00 +00:00
cy
cyapa
dc
dcons
de
digi
dpaa Set the TLB caching properties for portals at attach time. 2016-05-25 01:23:19 +00:00
dpms
dpt
drm
drm2 [drm] fix up hex_dump_to_buffer to not overflow linebuf. 2016-06-03 05:01:35 +00:00
dwc Fix an issue with multicast hash filters on Amlogic and Allwinner boards. 2016-06-12 22:55:50 +00:00
e1000 net: Use M_HASHTYPE_OPAQUE_HASH if the mbuf flowid has hash properties 2016-06-07 04:51:50 +00:00
ed
eisa
en
ep
esp
et
etherswitch Remove erroneous lock assertions 2016-06-06 10:07:57 +00:00
ex
exca
extres Rename gpiobus_map_pin() to gpiobus_acquire_pin(), to better reflect the 2016-05-26 15:45:36 +00:00
fatm
fb
fdc
fdt INTRNG - change the way how an interrupt mapping data are provided 2016-06-05 16:20:12 +00:00
fe
ffec Fix erronious mixed use of tx/rx variables/constants in the same expression. 2016-05-27 22:14:39 +00:00
filemon Cleanup COMPAT_FREEBSD32 support. 2016-06-05 18:16:33 +00:00
firewire
flash Add support for Atmel at25df641 flash 2016-06-08 14:22:16 +00:00
fxp
gem
glxiic
glxsb
gpio INTRNG: As follow up of r301451, implement mapping and configuration 2016-06-07 05:08:24 +00:00
gxemul
hatm
hifn
hme
hpt27xx
hptiop
hptmv
hptnr
hptrr
hwpmc Don't panic in hwpmc when stopping sampling. 2016-05-28 13:05:39 +00:00
hyperv hyperv/vmbus: Change tx_evtflags type to u_long to match vmbus_evtflags 2016-06-08 07:47:21 +00:00
ic
ichiic Fix ig4 operation for certain machines 2016-05-30 09:05:24 +00:00
ichsmb
ichwd
ida
ie
if_ndis
iicbus INTRNG - change the way how an interrupt mapping data are provided 2016-06-05 16:20:12 +00:00
iir
intpm
io
ioat ioat(4): Add ddb "show ioat <unit>" debugger command 2016-06-09 01:31:09 +00:00
ipmi
ips
ipw ipw: switch to ieee80211_add_channel() 2016-05-19 22:19:35 +00:00
isci
iscsi Consistently use 'unsigned int' for session IDs. 2016-06-09 13:04:57 +00:00
iscsi_initiator
iser Fix build on i386. 2016-05-27 11:37:02 +00:00
isl
ismt
isp Pass proper for 23xx arguments to isp_endcmd(). 2016-05-20 11:56:16 +00:00
ispfw
iwi
iwm [iwm] Use mbuf for large firmware commands, like OpenBSD does. 2016-06-23 01:13:30 +00:00
iwn iwn: add watchdog for scanning. 2016-05-26 11:12:36 +00:00
ixgb
ixgbe net: Use M_HASHTYPE_OPAQUE_HASH if the mbuf flowid has hash properties 2016-06-07 04:51:50 +00:00
ixl net: Use M_HASHTYPE_OPAQUE_HASH if the mbuf flowid has hash properties 2016-06-07 04:51:50 +00:00
jme
joy
kbd
kbdmux
ksyms
le Use OF_prop_free instead of direct call to free(9) 2016-05-18 23:39:31 +00:00
led
lge
lmc
malo
mbox
mc146818
mca
mcd
md
mdio
mem
mfi
mge
mii Add support for Atmel at25df641 flash 2016-06-08 14:22:16 +00:00
mk48txx
mlx
mlx5 Use correct Q-counter output array. 2016-06-23 09:23:37 +00:00
mly
mmc
mn
mpr
mps - No log bit in IOCStatus and endian-safe changes. 2016-06-20 18:14:51 +00:00
mpt
mrsas Added support for Avago/Broadcom Cutlass(12 Gbps- 16 port count) controllers. 2016-06-02 12:26:55 +00:00
mse
msk
mvs
mwl mwl: switch to ieee80211_add_channel*(). 2016-05-19 22:28:46 +00:00
mxge
my
nand
ncr
nctgpio
ncv
netfpga10g/nf10bmac
netmap
nfe
nfsmb
nge
nmdm
nsp
ntb Fix if_ntb interface setup to include IFF_MULTICAST. 2016-06-18 23:18:04 +00:00
null
nvd
nvme Commit the bits of nda that were missed. This should fix the build. 2016-06-10 06:04:53 +00:00
nvram
nvram2env [nvram2env] fix nvram2env to scan all of memory, not 1/4th 2016-05-23 03:51:15 +00:00
nxge nxge(4): Remove useless self-assignment. 2016-06-03 15:33:21 +00:00
oce
ofw INTRNG - change the way how an interrupt mapping data are provided 2016-06-05 16:20:12 +00:00
otus
ow
patm
pbio
pccard
pccbb Implement a proper detach method for the PCI-PCI bridge driver. 2016-05-20 00:03:22 +00:00
pcf
pci Add pci_get_max_payload() to fetch the PCI-express maximum payload size. 2016-06-24 17:26:42 +00:00
pcn
pdq
pms
powermac_nvram
ppbus
ppc
proto
psci
pst
pty
puc
qlxgb
qlxgbe net: Use M_HASHTYPE_OPAQUE_HASH if the mbuf flowid has hash properties 2016-06-07 04:51:50 +00:00
qlxge net: Use M_HASHTYPE_OPAQUE_HASH if the mbuf flowid has hash properties 2016-06-07 04:51:50 +00:00
quicc
ral - Replace the magic numbers with something more readable. 2016-06-08 02:37:23 +00:00
random Revert previous commit, until issue with sparc64 resolved. 2016-06-09 14:44:05 +00:00
rc
rccgpio
re
rl
rndtest
rp
rt
rtwn rtwn: fix Tx processing, add some busdma synchronization. 2016-06-20 22:45:19 +00:00
safe
sbni
scc
scd
sdhci Add a convenience macro that masks all the bits related to clock divisors 2016-05-26 02:55:41 +00:00
sec
sf
sfxge sfxge(4): bump version to the closest out-of-tree driver version 2016-06-09 12:33:53 +00:00
sge
si
siba Switch mips/sentry5 to bhnd(4), and unify with mips/broadcom 2016-06-04 19:53:47 +00:00
siis
sio
sis
sk
smbus
smc
sn
snc
snp
sound Add support for simplex USB MIDI devices, which only provide BULK or 2016-05-31 15:05:50 +00:00
speaker
spibus [spigen] add initial spigen driver from green@ 2016-05-26 07:02:20 +00:00
ste
stg
stge
streams
sym Add a riscv define. 2016-06-01 14:03:13 +00:00
syscons
tdfx
terasic
ti
tl
tpm
trm
tsec Add an alternate compatible string for eTSEC devices. 2016-05-19 00:04:58 +00:00
twa
twe
tws
tx
txp
uart
ubsec
urtwn urtwn: fix memory leak on device restart 2016-06-24 23:36:22 +00:00
usb Update the definition for number of scratch pages to match the latest 2016-06-22 09:03:55 +00:00
utopia
vge
viapm
viawd
videomode
virtio
vkbd
vmware/vmxnet3
vnic INTRNG - change the way how an interrupt mapping data are provided 2016-06-05 16:20:12 +00:00
vr
vt
vte
vx
vxge
watchdog
wb
wbwd
wds
wi wi: fix a typo. 2016-05-20 08:58:06 +00:00
wl
wpi
wtap
xe
xen xen/timer: re-introduce the inittodr call in the resume path 2016-06-09 16:15:01 +00:00
xilinx
xl