CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2013/10/19 05:11:24

Modified files:
        sys/net        : if.c 

Log message:
When we attach an interface, do not try to reuse the last index to
limit the possible races related to unscheduled task, or anything
else, relying on an unique index.

I say "limit" here because a race can still occurs if you run out
of indexes and jump back to 1.  A generation number can be added
later to avoid this problem.

ok deraadt@, claudio@, krw@, mikeb@, "I can live with it" reyk@

Reply via email to