MFp4: reminder that random id code is not reentrant

Supported by:	FreeBSD Foundation
This commit is contained in:
Sam Leffler 2003-11-07 23:31:29 +00:00
parent eb3b7bf69f
commit aab621f060

@ -186,6 +186,7 @@ ip_randomid(void)
int i, n;
struct timeval time;
/* XXX not reentrant */
getmicrotime(&time);
if (ru_counter >= RU_MAX || time.tv_sec > ru_reseed)
ip_initid();