diff options
author | Arend van Spriel <arend@broadcom.com> | 2015-06-15 22:48:38 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-06-16 11:35:09 +0300 |
commit | cb700df8c8a62061b573322c4d0b292a9010aa3c (patch) | |
tree | 9420f39ae901a04f23a76eaa1c4876ef3e68911f /drivers/net/phy/realtek.c | |
parent | 323d8f1be18e7cef53027c24e46308900dc7a90c (diff) | |
download | talos-op-linux-cb700df8c8a62061b573322c4d0b292a9010aa3c.tar.gz talos-op-linux-cb700df8c8a62061b573322c4d0b292a9010aa3c.zip |
brcmfmac: fix double free of p2pdev interface
When freeing the driver ifp pointer it should also be removed from
the driver interface list, which is what brcmf_remove_interface()
does. Otherwise, the ifp pointer will be freed twice triggering
a kernel oops.
Fixes: f37d69a4babc ("brcmfmac: free ifp for non-netdev interface in p2p module")
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/phy/realtek.c')
0 files changed, 0 insertions, 0 deletions