Re: [PATCH net-next] brcm80211: fix possible memleak in brcmf_proto_msgbuf_attach

2020-08-18 Thread Kalle Valo
Wang Yufen wrote: > When brcmf_proto_msgbuf_attach fail and msgbuf->txflow_wq != NULL, > we should destroy the workqueue. > > Reported-by: Hulk Robot > Signed-off-by: Wang Yufen Patch applied to wireless-drivers-next.git, thanks. 6c151410d5b5 brcm80211: fix possible memleak in brcmf_proto_ms

Re: [PATCH net-next] brcm80211: fix possible memleak in brcmf_proto_msgbuf_attach

2020-08-02 Thread Kalle Valo
Wang Yufen wrote: > When brcmf_proto_msgbuf_attach fail and msgbuf->txflow_wq != NULL, > we should destroy the workqueue. > > Fixes: 05491d2ccf20 ("brcm80211: move under broadcom vendor directory") Moving the driver to another directory cannot have caused this bug, so I'm removing the fixes tag

[PATCH net-next] brcm80211: fix possible memleak in brcmf_proto_msgbuf_attach

2020-07-20 Thread Wang Yufen
When brcmf_proto_msgbuf_attach fail and msgbuf->txflow_wq != NULL, we should destroy the workqueue. Fixes: 05491d2ccf20 ("brcm80211: move under broadcom vendor directory") Reported-by: Hulk Robot Signed-off-by: Wang Yufen --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c | 2 ++ 1 f

[PATCH net-next] brcm80211: fix possible memleak in brcmf_proto_msgbuf_attach

2020-07-20 Thread Wang Yufen
When brcmf_proto_msgbuf_attach fail and msgbuf->txflow_wq != NULL, we should destroy the workqueue. Fixes: 05491d2ccf20 ("brcm80211: move under broadcom vendor directory") Reported-by: Hulk Robot Signed-off-by: Wang Yufen --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c | 2 ++ 1 f