Commit cbe54598 authored by Daniel Fages's avatar Daniel Fages Committed by David S. Miller

[NET]: Fix HW_FLOWCONTROL on SMP.

parent 6c4acb7e
......@@ -1637,8 +1637,8 @@ static int process_backlog(struct net_device *backlog_dev, int *budget)
#ifdef CONFIG_NET_HW_FLOWCONTROL
if (queue->throttle &&
queue->input_pkt_queue.qlen < no_cong_thresh ) {
queue->throttle = 0;
if (atomic_dec_and_test(&netdev_dropping)) {
queue->throttle = 0;
netdev_wakeup();
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment