[NETLINK]: Fix unicast timeouts
authorPatrick McHardy <kaber@trash.net>
Wed, 7 Nov 2007 10:42:09 +0000 (02:42 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 7 Nov 2007 12:15:12 +0000 (04:15 -0800)
commitc3d8d1e30cace31fed6186a4b8c6b1401836d89c
tree7122fccf27aa337438123071f3cb07999429de9e
parent230140cffa7feae90ad50bf259db1fa07674f3a7
[NETLINK]: Fix unicast timeouts

Commit ed6dcf4a in the history.git tree broke netlink_unicast timeouts
by moving the schedule_timeout() call to a new function that doesn't
propagate the remaining timeout back to the caller. This means on each
retry we start with the full timeout again.

ipc/mqueue.c seems to actually want to wait indefinitely so this
behaviour is retained.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netlink.h
ipc/mqueue.c
net/netlink/af_netlink.c