]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[NETLINK]: Fix unicast timeouts
authorPatrick McHardy <kaber@trash.net>
Tue, 13 Nov 2007 11:23:22 +0000 (12:23 +0100)
committerAdrian Bunk <bunk@kernel.org>
Tue, 13 Nov 2007 11:23:22 +0000 (12:23 +0100)
commit47d5d333edbb27fe52da914c606dbc894826bcf3
tree8a6dd2033b2310984554baa26c726f8bd46e2f68
parent624e4ff675005168e71d297185f4b75dbdf650af
[NETLINK]: Fix unicast timeouts

[ Upstream commit: c3d8d1e30cace31fed6186a4b8c6b1401836d89c ]

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>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
include/linux/netlink.h
ipc/mqueue.c
net/netlink/af_netlink.c