diff options
-rw-r--r-- | drivers/net/r8169.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index d0bfe4c8950d..b07d2eadeae6 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -2277,7 +2277,7 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
2277 | dma_addr_t mapping; | 2277 | dma_addr_t mapping; |
2278 | u32 status, len; | 2278 | u32 status, len; |
2279 | u32 opts1; | 2279 | u32 opts1; |
2280 | int ret = 0; | 2280 | int ret = NETDEV_TX_OK; |
2281 | 2281 | ||
2282 | if (unlikely(TX_BUFFS_AVAIL(tp) < skb_shinfo(skb)->nr_frags)) { | 2282 | if (unlikely(TX_BUFFS_AVAIL(tp) < skb_shinfo(skb)->nr_frags)) { |
2283 | if (netif_msg_drv(tp)) { | 2283 | if (netif_msg_drv(tp)) { |
@@ -2342,7 +2342,7 @@ out: | |||
2342 | 2342 | ||
2343 | err_stop: | 2343 | err_stop: |
2344 | netif_stop_queue(dev); | 2344 | netif_stop_queue(dev); |
2345 | ret = 1; | 2345 | ret = NETDEV_TX_BUSY; |
2346 | err_update_stats: | 2346 | err_update_stats: |
2347 | tp->stats.tx_dropped++; | 2347 | tp->stats.tx_dropped++; |
2348 | goto out; | 2348 | goto out; |