diff options
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r-- | net/ipv4/ipconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 92ac7e7363a0..f267280d8709 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c | |||
@@ -1198,7 +1198,7 @@ static int __init ic_dynamic(void) | |||
1198 | d = ic_first_dev; | 1198 | d = ic_first_dev; |
1199 | retries = CONF_SEND_RETRIES; | 1199 | retries = CONF_SEND_RETRIES; |
1200 | get_random_bytes(&timeout, sizeof(timeout)); | 1200 | get_random_bytes(&timeout, sizeof(timeout)); |
1201 | timeout = CONF_BASE_TIMEOUT + (timeout % (unsigned) CONF_TIMEOUT_RANDOM); | 1201 | timeout = CONF_BASE_TIMEOUT + (timeout % (unsigned int) CONF_TIMEOUT_RANDOM); |
1202 | for (;;) { | 1202 | for (;;) { |
1203 | /* Track the device we are configuring */ | 1203 | /* Track the device we are configuring */ |
1204 | ic_dev_xid = d->xid; | 1204 | ic_dev_xid = d->xid; |