Re: [PATCH] s390/net/qeth_main.c: Fix use of skb after netif_rx

From: Wang Chen
Date: Fri Dec 14 2007 - 04:36:02 EST


Julia Lawall said the following on 2007-12-14 17:28:
> From: Julia Lawall <julia@xxxxxxx>
>
> Recently, Wang Chen submitted a patch
> (d30f53aeb31d453a5230f526bea592af07944564) to move a call to netif_rx(skb)
> after a subsequent reference to skb, because netif_rx may call kfree_skb on
> its argument. The same problem occurs in some other drivers as well.
>

It looks good to me.

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