[email protected]
[Top] [All Lists]

PERFORCE change 114167 for review

Subject: PERFORCE change 114167 for review
From: Robert Watson
Date: Wed, 7 Feb 2007 11:18:25 GMT
http://perforce.freebsd.org/chv.cgi?CH=114167

Change 114167 by [email protected]_cinnamon on 2007/02/07 11:17:32

        Annotate an inter-thread race during bpf_setif.

Affected files ...

.. //depot/projects/zcopybpf/src/sys/net/bpf.c#16 edit

Differences ...

==== //depot/projects/zcopybpf/src/sys/net/bpf.c#16 (text+ko) ====

@@ -1407,6 +1407,9 @@
         * buffers by the time we get here.  If not, return an error.
         *
         * XXXRW: Could this be better abstracted?
+        *
+        * XXXRW: There are locking issues here with multi-threaded use: what
+        * if two threads try to set the interface at once?
         */
        switch (d->bd_bufmode) {
        case BPF_BUFMODE_BUFFER:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "[email protected]"

<Prev in Thread] Current Thread [Next in Thread>
  • PERFORCE change 114167 for review, Robert Watson <=