Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150631
b: refs/heads/master
c: c722c62
h: refs/heads/master
i:
  150629: bc2a13c
  150627: b1998ce
  150623: e0f0308
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jun 4, 2009
1 parent 52b192e commit f23c62e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a8c617eae4dc2ea9f3d64472233f2d3dc3c9993c
refs/heads/master: c722c625dbe2758d53365c0ed7d401b0e286f2cf
6 changes: 3 additions & 3 deletions trunk/drivers/net/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,12 +844,12 @@ static void tun_sock_write_space(struct sock *sk)
if (!sock_writeable(sk))
return;

if (sk->sk_sleep && waitqueue_active(sk->sk_sleep))
wake_up_interruptible_sync(sk->sk_sleep);

if (!test_and_clear_bit(SOCK_ASYNC_NOSPACE, &sk->sk_socket->flags))
return;

if (sk->sk_sleep && waitqueue_active(sk->sk_sleep))
wake_up_interruptible_sync(sk->sk_sleep);

tun = container_of(sk, struct tun_sock, sk)->tun;
kill_fasync(&tun->fasync, SIGIO, POLL_OUT);
}
Expand Down

0 comments on commit f23c62e

Please sign in to comment.