Thread (8 messages) flat view 8 messages, 3 authors, 2016-10-20

Re: [PATCH] ipv6: fix signedness of tmp_prefered_lft underflow check

From: David Miller <davem@davemloft.net>
Date: 2016-10-18 18:25:27

From: Jiri Bohac <redacted>
Date: Tue, 18 Oct 2016 17:01:54 +0200
Commit 76506a986dc31394fd1f2741db037d29c7e57843 (IPv6: fix
DESYNC_FACTOR) introduced a buggy check for underflow of
tmp_prefered_lft. tmp_prefered_lft is unsigned, so the condition
is always false.

Signed-off-by: Jiri Bohac <redacted>
Reported-by: Julia Lawall <redacted>
Fixes: 76506a986dc3 ("IPv6: fix DESYNC_FACTOR")
Does the check make any sense at all?  I'd say just remove it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help