Date: Fri, 20 Mar 2015 18:58:30 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Emeric POUPON <emeric.poupon@stormshield.eu> Cc: freebsd-net <freebsd-net@freebsd.org> Subject: Re: Fragment questions Message-ID: <550C5FC6.6020401@selasky.org> In-Reply-To: <2047974073.25663527.1426858267777.JavaMail.zimbra@stormshield.eu> References: <522774578.25519037.1426765109046.JavaMail.zimbra@stormshield.eu> <550AC709.1050404@selasky.org> <2047974073.25663527.1426858267777.JavaMail.zimbra@stormshield.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/20/15 14:31, Emeric POUPON wrote: > - in the ip_newid macro, we do "htons(V_ip_id++))" if we do not use randomized id. > In multi core systems, we may emit successive packets with the same id. Will using a mutex or an atomic macro fix this issue when incrementing the V_ip_id ? --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?550C5FC6.6020401>