summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2011-05-26 13:44:34 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-09-01 11:16:37 -0400
commita0f40f02ef0783688233caf737a17f1f56283e2b (patch)
treeb27c98ef211ca9148a0bc8e4707e09660c2da197 /kernel
parentff60af8c16aa3b8ee51a0a6b4c4ea42342d1607d (diff)
downloadop-kernel-dev-a0f40f02ef0783688233caf737a17f1f56283e2b.zip
op-kernel-dev-a0f40f02ef0783688233caf737a17f1f56283e2b.tar.gz
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 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud