diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2011-05-26 17:44:34 (GMT) |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-09-01 15:16:37 (GMT) |
commit | a0f40f02ef0783688233caf737a17f1f56283e2b (patch) | |
tree | b27c98ef211ca9148a0bc8e4707e09660c2da197 /mm/mmu_context.c | |
parent | ff60af8c16aa3b8ee51a0a6b4c4ea42342d1607d (diff) | |
download | linux-fsl-qoriq-a0f40f02ef0783688233caf737a17f1f56283e2b.tar.xz |
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 'mm/mmu_context.c')
0 files changed, 0 insertions, 0 deletions