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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to