Files
Aurelien Jacobs 4a75c21908 asix: fix infinite loop in rx_fixup()
commit 6c15d74def upstream.

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@gnuage.org>
Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-01-12 11:29:44 -08:00
..
2012-01-12 11:29:44 -08:00
2010-09-13 20:02:53 -07:00
2011-07-08 09:07:59 -07:00
2011-09-15 15:49:08 -04:00
2011-11-08 12:37:07 -05:00
2009-05-01 15:27:02 -07:00
2011-11-07 13:25:41 -05:00