diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2011-05-26 13:44:34 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-09-01 11:16:37 -0400 |
commit | a0f40f02ef0783688233caf737a17f1f56283e2b (patch) | |
tree | b27c98ef211ca9148a0bc8e4707e09660c2da197 /samples/hidraw | |
parent | ff60af8c16aa3b8ee51a0a6b4c4ea42342d1607d (diff) | |
download | linux-a0f40f02ef0783688233caf737a17f1f56283e2b.tar.bz2 |
tipc: Prevent rounding issues when saving connect timeout option
Saves a socket's TIPC_CONN_TIMEOUT socket option value in its original
form (milliseconds), rather than jiffies. This ensures that the exact
value set using setsockopt() is always returned by getsockopt(), without
being subject to rounding issues introduced by a ms->jiffies->ms
conversion sequence.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'samples/hidraw')
0 files changed, 0 insertions, 0 deletions