summaryrefslogtreecommitdiffstats
path: root/net/sctp/primitive.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dxchgb@gmail.com>2012-10-28 09:27:19 +0100
committerDavid S. Miller <davem@davemloft.net>2012-11-03 19:50:15 +0100
commit398f382c0a5bd62f0f31871e844700e1b9fd1ad3 (patch)
treec1456d193eb4089de48f9aed8459fbf806433563 /net/sctp/primitive.c
parenttcp: better retrans tracking for defer-accept (diff)
downloadlinux-398f382c0a5bd62f0f31871e844700e1b9fd1ad3.tar.xz
linux-398f382c0a5bd62f0f31871e844700e1b9fd1ad3.zip
pktgen: clean up ktime_t helpers
Some years ago, the ktime_t helper functions ktime_now() and ktime_lt() have been introduced. Instead of defining them inside pktgen.c, they should either use ktime_t library functions or, if not available, they should be defined in ktime.h, so that also others can benefit from them. ktime_compare() is introduced with a similar notion as in timespec_compare(). Signed-off-by: Daniel Borkmann <daniel.borkmann@tik.ee.ethz.ch> Cc: Cong Wang <xiyou.wangcong@gmail.com> Cc: Stephen Hemminger <shemminger@vyatta.com> Cc: Thomas Gleixner <tglx@linutronix.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/primitive.c')
0 files changed, 0 insertions, 0 deletions