PERFORCE change 114135 for review
Christian S.J. Peron
csjp at FreeBSD.org
Wed Feb 7 00:40:09 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=114135
Change 114135 by csjp at csjp_rnd01 on 2007/02/07 00:39:25
Clean up some additions I made to the zbuf header structure that
accidently made it in my last submit.
Affected files ...
.. //depot/projects/zcopybpf/src/sys/net/bpf.h#8 edit
.. //depot/projects/zcopybpf/src/sys/net/bpf_zerocopy.c#13 edit
Differences ...
==== //depot/projects/zcopybpf/src/sys/net/bpf.h#8 (text+ko) ====
@@ -186,10 +186,7 @@
volatile u_int bzh_kernel_gen; /* Kernel generation number. */
volatile u_int bzh_kernel_len; /* Length of buffer. */
volatile u_int bzh_user_gen; /* User generation number. */
- void *bzh_hbuf;
- void *bzh_fbuf;
- void *bzh_sbuf;
- u_char _bzh_pad[28];
+ u_char _bzh_pad[5];
};
/*
==== //depot/projects/zcopybpf/src/sys/net/bpf_zerocopy.c#13 (text+ko) ====
@@ -374,9 +374,6 @@
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_hbuf = d->bd_hbuf;
- zb->zb_header->bzh_fbuf = d->bd_fbuf;
- zb->zb_header->bzh_sbuf = d->bd_sbuf;
}
/*
More information about the p4-projects
mailing list