[PATCH 2/4] net: calxedaxgmac: fix hang on rx refill

2012-07-09 Thread Rob Herring
From: Rob Herring Fix intermittent hangs in xgmac_rx_refill. If a ring buffer entry already had an skb allocated, then xgmac_rx_refill would get stuck in a loop. This can happen on a rx error when we just leave the skb allocated to the entry. [ 7884.51] INFO: rcu_preempt detected stall on

[PATCH 2/4] net: calxedaxgmac: fix hang on rx refill

2012-07-09 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Fix intermittent hangs in xgmac_rx_refill. If a ring buffer entry already had an skb allocated, then xgmac_rx_refill would get stuck in a loop. This can happen on a rx error when we just leave the skb allocated to the entry. [ 7884.51] INFO: