Re: [PATCH] net: dsa: Fix cleanup resources upon module removal

From: Andrew Lunn
Date: Tue Mar 08 2016 - 09:52:39 EST


On Tue, Mar 08, 2016 at 10:36:20AM +0100, Neil Armstrong wrote:
> The initial commit badly merged into the dsa_resume method instead
> of the dsa_remove_dst method.
> As consequence, the dst->master_netdev->dsa_ptr is not set to NULL on
> removal and re-bind of the dsa device fails with error -17.
>
> Fixes: b0dc635d923c ("net: dsa: cleanup resources upon module removal ")
> Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>

Acked-by: Andrew Lunn <andrew@xxxxxxx>

Thanks

Andrew