Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190016
b: refs/heads/master
c: 0110d6f
h: refs/heads/master
v: v3
  • Loading branch information
Michael S. Tsirkin authored and David S. Miller committed Apr 14, 2010
1 parent 26aae71 commit c7fd0ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c659322a904a7cc0265e7b183372b9bdebec6db
refs/heads/master: 0110d6f22f392f976e84ab49da1b42f85b64a3c5
4 changes: 4 additions & 0 deletions trunk/drivers/net/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ static netdev_tx_t tun_net_xmit(struct sk_buff *skb, struct net_device *dev)
}
}

/* Orphan the skb - required as we might hang on to it
* for indefinite time. */
skb_orphan(skb);

/* Enqueue packet */
skb_queue_tail(&tun->socket.sk->sk_receive_queue, skb);
dev->trans_start = jiffies;
Expand Down

0 comments on commit c7fd0ad

Please sign in to comment.