Re: [PATCH 1/1] ATM: solos-pci, remove use after free

From: Eric Dumazet
Date: Mon Oct 11 2010 - 04:19:45 EST


Le lundi 11 octobre 2010 Ã 09:50 +0200, Jiri Slaby a Ãcrit :
> Stanse found we do in console_show:
> kfree_skb(skb);
> return skb->len;
> which is not good. Fix that by remembering the len and use it in the
> function instead.
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> Cc: Chas Williams <chas@xxxxxxxxxxxxxxxx>
> ---

Acked-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>



--
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/