diff options
author | Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> | 2016-02-02 12:52:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-06 11:40:43 +0300 |
commit | 4f61d4ef7088581997ad95ad37db2d8a459844e4 (patch) | |
tree | edd6ee484da2e74298b91aaaa65cb884d5955d2d /net/tipc/subscr.h | |
parent | c6140a299bdf2425d092383fafaaf2a4a3745989 (diff) | |
download | linux-4f61d4ef7088581997ad95ad37db2d8a459844e4.tar.xz |
tipc: remove incorrect check for subscription timeout value
Until now, during subscription creation we set sub->timeout by
converting the timeout request value in milliseconds to jiffies.
This is followed by setting the timeout value in the timer if
sub->timeout != TIPC_WAIT_FOREVER.
For a subscription create request with a timeout value of
TIPC_WAIT_FOREVER, msecs_to_jiffies(TIPC_WAIT_FOREVER)
returns MAX_JIFFY_OFFSET (0xfffffffe). This is not equal to
TIPC_WAIT_FOREVER (0xffffffff).
In this commit, we remove this check.
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 'net/tipc/subscr.h')
0 files changed, 0 insertions, 0 deletions