Hi!

I found a comment in the code:
        /*
         * This node has all kinds of stuff that could be screwed by SMP.
         * Until it gets it's own internal protection, we go through in 
         * single file. This could hurt a machine bridging beteen two 
         * GB ethernets so it should be fixed. 
         * When it's fixed the process SHOULD NOT SLEEP, spinlocks please!
         * (and atomic ops )
         */

mtx_init(...., MTX_DEF);
How bad to use netgraph node MTX_DEF mutex?




_______________________________________________
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