Fabien Thomas d612b95e23 On multi CPU systems, we may emit successive packets with the same id.
Fix the race by using an atomic operation.

Differential Revision:	https://reviews.freebsd.org/D2141
Obtained from:	emeric.poupon@stormshield.eu
MFC after:	1 week
Sponsored by:	Stormshield
2015-03-27 13:26:59 +00:00
..
2015-01-12 08:33:04 +00:00
2015-02-25 05:42:59 +00:00
2015-02-19 15:41:23 +00:00
2015-03-18 04:40:36 +00:00
2015-03-10 09:16:31 +00:00