File bnc721968_5.patch of Package radvd
References: CVE-2011-3605, bnc#721968
commit 2591d0189257caeaae2057dfed0a260310497a61
Author: Reuben Hawkins <reubenhwk@gmail.com>
Date: Tue Oct 4 13:18:47 2011 -0700
removing mdelay in unicast only case
Index: radvd-1.3/process.c
===================================================================
--- radvd-1.3.orig/process.c 2011-10-19 12:20:31.000000000 +0200
+++ radvd-1.3/process.c 2011-10-19 12:23:34.000000000 +0200
@@ -191,7 +191,6 @@ process_rs(int sock, struct Interface *i
dlog(LOG_DEBUG, 3, "random mdelay for %s: %.2f", iface->Name, delay);
if (iface->UnicastOnly) {
- mdelay(delay);
send_ra_forall(sock, iface, &addr->sin6_addr);
}
else if ((tv.tv_sec + tv.tv_usec / 1000000.0) - (iface->last_multicast_sec +