linux/drivers/net/wireless/intersil
Sebastian Andrzej Siewior b6d1a50c57 orinoco: Move context allocation after processing the skb
[ Upstream commit a31eb61564 ]

ezusb_xmit() allocates a context which is leaked if
orinoco_process_xmit_skb() returns an error.

Move ezusb_alloc_ctx() after the invocation of
orinoco_process_xmit_skb() because the context is not needed so early.
ezusb_access_ltv() will cleanup the context in case of an error.

Fixes: bac6fafd4d ("orinoco: refactor xmit path")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201113212252.2243570-2-bigeasy@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:25:56 +01:00
..
hostap hostap: Adjust indentation in prism2_hostapd_add_sta 2020-02-24 08:34:51 +01:00
orinoco orinoco: Move context allocation after processing the skb 2020-12-30 11:25:56 +01:00
p54 p54: avoid accessing the data mapped to streaming DMA 2020-11-05 11:08:34 +01:00
prism54 treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
Kconfig net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
Makefile prism54: move under intersil vendor directory 2015-11-18 14:28:31 +02:00