> 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@xxxxxxxxxxxx> > Reviewed-by: Hante Meuleman <meuleman@xxxxxxxxxxxx> > Signed-off-by: Arend van Spriel <arend@xxxxxxxxxxxx> Thanks, 2 patches applied to wireless-drivers-next.git: cb700df8c8a6 brcmfmac: fix double free of p2pdev interface 40b503c76481 brcmfmac: make brcmf_p2p_detach() call conditional Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html