diff options
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 0a3e00b220b7..a401b8df84f0 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h | |||
@@ -133,7 +133,7 @@ static inline void unblock_netpoll_tx(void) | |||
133 | 133 | ||
134 | static inline int is_netpoll_tx_blocked(struct net_device *dev) | 134 | static inline int is_netpoll_tx_blocked(struct net_device *dev) |
135 | { | 135 | { |
136 | if (unlikely(dev->priv_flags & IFF_IN_NETPOLL)) | 136 | if (unlikely(netpoll_tx_running(dev))) |
137 | return atomic_read(&netpoll_block_tx); | 137 | return atomic_read(&netpoll_block_tx); |
138 | return 0; | 138 | return 0; |
139 | } | 139 | } |