From: Rob Herring Date: Thu, 28 Mar 2013 11:32:44 +0000 (+0000) Subject: net: calxedaxgmac: fix rx ring handling when OOM X-Git-Tag: v3.9-rc6~38^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc574f1d52d893f516f3786ff7635450bac00eef;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed