Re: [PATCH net] drivers: net: xgene: fix possible use after free

From: David Miller
Date: Sun Nov 29 2015 - 22:52:23 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Wed, 25 Nov 2015 09:02:10 -0800

> From: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> Once TX has been enabled on a NIC, it is illegal to access skb,
> as this skb might have been freed by another cpu, from TX completion
> handler.
>
> Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx>
> Reported-by: Mark Rutland <mark.rutland@xxxxxxx>
> Tested-by: Mark Rutland <mark.rutland@xxxxxxx>

Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/