[Cbe-oss-dev] [PATCH 1/10] spidernet: skb used after netif_receive_skb

Jeff Garzik jeff at garzik.org
Fri May 25 07:25:56 EST 2007


Linas Vepstas wrote:
> From: Florin Malita <fmalita at gmail.com>
> 
> The stats update code in spider_net_pass_skb_up() is touching the skb 
> after it's been passed up to the stack. To avoid that, just update the 
> stats first.
> 
> Signed-off-by: Florin Malita <fmalita at gmail.com>
> Signed-off-by: Linas Vepstas <linas at austin.ibm.com>
> ----
> 
>  drivers/net/spider_net.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

applied to #upstream-fixes





More information about the cbe-oss-dev mailing list