[PATCH] ndp: Suppress Coverity false positive for random()
Coverity flags the random() call in ndp_timer() with the dont_call
checker, warning that it should not be used for security-related
applications.
This is a false positive: random() is used here to jitter the interval
between unsolicited Router Advertisements as required by RFC 4861, to
prevent synchronisation between routers on a link. No cryptographic
strength is needed.
Suppress the warning with an inline Coverity annotation.
Signed-off-by: Laurent Vivier
participants (1)
-
Laurent Vivier