commit | dc574f1d52d893f516f3786ff7635450bac00eef | [log] [tgz] |
---|---|---|
author | Rob Herring <rob.herring@calxeda.com> | Thu Mar 28 11:32:44 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 29 15:29:35 2013 -0400 |
tree | a2080c00ac85c6d76a5573e6d5b9385bebb3888c | |
parent | a561cf7edf9863198bfccecfc5cfe26d951ebd20 [diff] |
net: calxedaxgmac: fix rx ring handling when OOM If skb allocation for the rx ring fails repeatedly, we can reach a point were the ring is empty. In this condition, the driver is out of sync with the h/w. While this has always been possible, the removal of the skb recycling seems to have made triggering this problem easier. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: David S. Miller <davem@davemloft.net>