[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120107.121533.576189518317929450.davem@davemloft.net>
Date: Sat, 07 Jan 2012 12:15:33 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: aurel@...age.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] asix: fix infinite loop in rx_fixup()
From: Aurelien Jacobs <aurel@...age.org>
Date: Sat, 7 Jan 2012 19:09:27 +0100
> At this point if skb->len happens to be 2, the subsequant skb_pull(skb, 4)
> call won't work and the skb->len won't be decreased and won't ever reach 0,
> resulting in an infinite loop.
>
> With an ASIX 88772 under heavy load, without this patch, rx_fixup() reaches
> an infinite loop in less than a minute. With this patch applied,
> no infinite loop even after hours of heavy load.
>
> Signed-off-by: Aurelien Jacobs <aurel@...age.org>
Applied, thanks.
--
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