net: add netif_tx_queue_frozen_or_stopped
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 23 Nov 2010 10:42:02 +0000 (10:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Nov 2010 18:47:18 +0000 (10:47 -0800)
When testing struct netdev_queue state against FROZEN bit, we also test
XOFF bit. We can test both bits at once and save some cycles.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found