]> err.no Git - linux-2.6/commit
[TIPC]: Optimize wakeup logic when socket has no waiting processes
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Oct 2006 04:47:18 +0000 (21:47 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 19 Oct 2006 02:55:17 +0000 (19:55 -0700)
commitcfb0c0890b200364c0886c0d9f0dc615f8114c43
treed3dedd5c3fad9e2b6ee26b53b10fb0039416ec64
parente91ed0bcdfc4812c0342d64281ee985213df07c3
[TIPC]: Optimize wakeup logic when socket has no waiting processes

This patch adds a simple test so TIPC doesn't try waking up processes
waiting on a socket if there are none waiting.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c