Subject: Re: [PATCH] SMC911X: Fix using of dereferenced skb after netif_rx

From: Peter Korsgaard <[email-masked]>
Date: Tue, 04 Dec 2007 09:49:50 +0100

>>>>> "Wang" == Wang Chen <[email-masked]> writes:

Hi,

 >> Why not simply update the stats before calling netif_rx as the return
 >> value isn't checked anyway?

 Wang> Even the return value of netif_rx isn't checked, dev->stats maybe
 Wang> changed in netif_rx. But fortunately dev->stats isn't changed in
 Wang> netif_rx.
 Wang> So, I agree. 
 Wang> Here is the new patch.

Thanks.

 Wang> Signed-off-by: Wang Chen <[email-masked]>

Acked-by: Peter Korsgaard <[email-masked]>

-- 
Bye, Peter Korsgaard