K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-04-03T18:56:16.749285Z K 7 svn:log V 699 MFC r220062, r220173: r220062: In g_gate_create() there is a window between when g_gate_softc is registered in g_gate_units array and when its sc_provider field is filled. If during this period g_gate_units is accessed by another thread that is checking for provider name collision the crash is possible. Fix this by adding sc_name field to struct g_gate_softc. In g_gate_create() when g_gate_softc is created but sc_provider is still not sc_name points to provider name stored in the local array. Reported by: Freddie Cash r220173: Increase debug level on g_gate device destruction and add message on device creation. Suggested by: danger Approved by: pjd (mentor) END