[email protected]
[Top] [All Lists]

PERFORCE change 113849 for review

Subject: PERFORCE change 113849 for review
From: Robert Watson
Date: Thu, 1 Feb 2007 17:43:35 GMT
http://perforce.freebsd.org/chv.cgi?CH=113849

Change 113849 by [email protected]_cinnamon on 2007/02/01 17:42:38

        Assign length field of header before bumping generation number, as
        the generation bump is the handoff and we don't want to be updating
        any fields in the buffer after that.

Affected files ...

.. //depot/projects/zcopybpf/src/sys/net/bpf_zerocopy.c#9 edit

Differences ...

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

@@ -372,8 +372,8 @@
 
        zb = (struct zbuf *)d->bd_hbuf;
        KASSERT(zb != NULL, ("bpf_zerocopy_bufheld: zb == NULL"));
+       zb->zb_header->bzh_kernel_len = d->bd_hlen;
        zb->zb_header->bzh_kernel_gen++;
-       zb->zb_header->bzh_kernel_len = d->bd_hlen;
 }
 
 /*
_______________________________________________
[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 113849 for review, Robert Watson <=