diff options
author | Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> | 2016-02-02 10:52:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-06 03:41:58 -0500 |
commit | ae245557f87fffe2e1c39ba07524024e650e822b (patch) | |
tree | 73a16eb24a35386f5b86e02a1381eb73777c01af /block | |
parent | f3ad288c56d21e3b8ec77e13ab9aa06dbbfa3577 (diff) | |
download | linux-ae245557f87fffe2e1c39ba07524024e650e822b.tar.bz2 |
tipc: donot create timers if subscription timeout = TIPC_WAIT_FOREVER
Until now, we create timers even for the subscription requests
with timeout = TIPC_WAIT_FOREVER.
This can be improved by avoiding timer creation when the timeout
is set to TIPC_WAIT_FOREVER.
In this commit, we introduce a check to creates timers only
when timeout != TIPC_WAIT_FOREVER.
Acked-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions