aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/sm_make_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index fee5552ddf92..ae0e616a7ca5 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -1782,7 +1782,7 @@ no_hmac:
1782 else 1782 else
1783 kt = ktime_get(); 1783 kt = ktime_get();
1784 1784
1785 if (!asoc && ktime_compare(bear_cookie->expiration, kt) < 0) { 1785 if (!asoc && ktime_before(bear_cookie->expiration, kt)) {
1786 /* 1786 /*
1787 * Section 3.3.10.3 Stale Cookie Error (3) 1787 * Section 3.3.10.3 Stale Cookie Error (3)
1788 * 1788 *