[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 10 Nov 2008 21:45:15 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: buytenh@...tstofly.org
Cc: netdev@...r.kernel.org, linux@...rew.com, dirk@...xia.nl
Subject: Re: [PATCH] net: fix setting of skb->tail in skb_recycle_check()
From: Lennert Buytenhek <buytenh@...tstofly.org>
Date: Sun, 9 Nov 2008 00:09:43 +0100
> Since skb_reset_tail_pointer() reads skb->data, we need to set
> skb->data before calling skb_reset_tail_pointer(). This was causing
> spurious skb_over_panic()s from skb_put() being called on a recycled
> skb that had its skb->tail set to beyond where it should have been.
>
> Bug report from Peter van Valderen <linux@...rew.com>.
>
> Signed-off-by: Lennert Buytenhek <buytenh@...vell.com>
Applied, thanks a lot Lennert!
--
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