net: sctp: migrate most recently used transport to ktime
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 11 Jun 2014 16:19:30 +0000 (18:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 19:23:17 +0000 (12:23 -0700)
commite575235fc6026bb75e166ff68f84118c62d73f94
tree299131847e629caa9201f9ba8066302864e0f22d
parentb82e8f31acc7d799638692e65ff017f3e1b6a43d
net: sctp: migrate most recently used transport to ktime

Be more precise in transport path selection and use ktime
helpers instead of jiffies to compare and pick the better
primary and secondary recently used transports. This also
avoids any side-effects during a possible roll-over, and
could lead to better path decision-making.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/associola.c
net/sctp/endpointola.c
net/sctp/transport.c