Searched hist:127305 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.0-release/sys/net/
H A Dif_gif.cdiff 127305 Mon Mar 22 13:43:14 MST 2004 rwatson Lock down global variables in if_gif:

- Add gif_mtx, which protects globals.
- Hold gif_mtx around manipulation of gif_softc_list.
- Abstract gif destruction code into gif_destroy(), which tears down
a softc after it's been removed from the global list by either module
unload or clone destroy.
- Lock gif_called, even though we know gif_called is broken with reentrant
network processing.
- Document an event ordering problem in gif_set_tunnel() that will need
to be fixed.

gif_softc fields not locked down in this commit.

Completed in 75 milliseconds