projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: sctp: fix permissions for rto_alpha and rto_beta knobs
[firefly-linux-kernel-4.4.55.git]
/
net
/
sctp
/
sm_make_chunk.c
diff --git
a/net/sctp/sm_make_chunk.c
b/net/sctp/sm_make_chunk.c
index fee5552ddf929e40f702e1d0b86ead2cb0630f97..ae0e616a7ca5ed64ee9e7e09cab08a13caf7bff7 100644
(file)
--- a/
net/sctp/sm_make_chunk.c
+++ b/
net/sctp/sm_make_chunk.c
@@
-1782,7
+1782,7
@@
no_hmac:
else
kt = ktime_get();
- if (!asoc && ktime_
compare(bear_cookie->expiration, kt) < 0
) {
+ if (!asoc && ktime_
before(bear_cookie->expiration, kt)
) {
/*
* Section 3.3.10.3 Stale Cookie Error (3)
*