Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83276
b: refs/heads/master
c: a26af1e
h: refs/heads/master
v: v3
  • Loading branch information
Nathaniel Filardo authored and David S. Miller committed Feb 5, 2008
1 parent 428a48e commit 68df912
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: cd8d627a6b66d9755637b4dad2083864a9bfce9a
refs/heads/master: a26af1e08a3a1e0f88e6f2685ac2313d713a59c9
4 changes: 4 additions & 0 deletions trunk/drivers/net/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,13 @@ static int tun_set_iff(struct file *file, struct ifreq *ifr)

if (ifr->ifr_flags & IFF_NO_PI)
tun->flags |= TUN_NO_PI;
else
tun->flags &= ~TUN_NO_PI;

if (ifr->ifr_flags & IFF_ONE_QUEUE)
tun->flags |= TUN_ONE_QUEUE;
else
tun->flags &= ~TUN_ONE_QUEUE;

file->private_data = tun;
tun->attached = 1;
Expand Down

0 comments on commit 68df912

Please sign in to comment.