Browse files

wake up a socket after appending data in key_sendup0()

  • Loading branch information...
1 parent 07370f9 commit 527315ad9f4a6fd214f2b3b51c9722c3b4766a10 keiichi committed Sep 2, 2005
Showing with 3 additions and 1 deletion.
  1. +3 −1 kame/sys/netkey/keysock.c
View
4 kame/sys/netkey/keysock.c
@@ -336,8 +336,10 @@ key_sendup0(rp, m, promisc, canwait)
pfkeystat.in_nomem++;
error = ENOBUFS;
goto recovery;
- } else
+ } else {
+ sorwakeup(rp->rcb_socket);
error = 0;
+ }
}
return (error);

0 comments on commit 527315a

Please sign in to comment.