diff options
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index b393536012fb..c3927b423743 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -398,12 +398,12 @@ static int tun_net_xmit(struct sk_buff *skb, struct net_device *dev) | |||
398 | if (tun->flags & TUN_FASYNC) | 398 | if (tun->flags & TUN_FASYNC) |
399 | kill_fasync(&tun->fasync, SIGIO, POLL_IN); | 399 | kill_fasync(&tun->fasync, SIGIO, POLL_IN); |
400 | wake_up_interruptible(&tun->socket.wait); | 400 | wake_up_interruptible(&tun->socket.wait); |
401 | return 0; | 401 | return NETDEV_TX_OK; |
402 | 402 | ||
403 | drop: | 403 | drop: |
404 | dev->stats.tx_dropped++; | 404 | dev->stats.tx_dropped++; |
405 | kfree_skb(skb); | 405 | kfree_skb(skb); |
406 | return 0; | 406 | return NETDEV_TX_OK; |
407 | } | 407 | } |
408 | 408 | ||
409 | static void tun_net_mclist(struct net_device *dev) | 409 | static void tun_net_mclist(struct net_device *dev) |