[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r6i2yhch.fsf@macbook.be.48ers.dk>
Date: Tue, 04 Dec 2007 09:49:50 +0100
From: Peter Korsgaard <jacmet@...site.dk>
To: Wang Chen <wangchen@...fujitsu.com>
Cc: Jeff Garzik <jgarzik@...ox.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Dustin McIntire <dustin@...soria.com>, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [PATCH] SMC911X: Fix using of dereferenced skb after netif_rx
>>>>> "Wang" == Wang Chen <wangchen@...fujitsu.com> 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 <wangchen@...fujitsu.com>
Acked-by: Peter Korsgaard <jacmet@...site.dk>
--
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists