Re: cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/ipw if_ipw.c src/sys/dev/iwi if_iwi.c src/sys/dev/ral rt2560.c rt2661.c src/sys/dev/usb if_ural.c src/sys/dev/wi if_wi.c src/sys/net bpf.c

2006-06-04 Thread Christian S.J. Peron
Can you try this patch: http://people.freebsd.org/~csjp/no.bpf.1149425152.diff and tell me how it works for you? Benno Rice wrote: Christian S.J. Peron wrote: [snip] Log: Fix the following bpf(4) race condition which can result in a panic: [snip] This change causes panics in

Re: cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/ipw if_ipw.c src/sys/dev/iwi if_iwi.c src/sys/dev/ral rt2560.c rt2661.c src/sys/dev/usb if_ural.c src/sys/dev/wi if_wi.c src/sys/net bpf.c

2006-06-03 Thread Christian S.J. Peron
Committed, thanks. Benno Rice wrote: Christian S.J. Peron wrote: [snip] Log: Fix the following bpf(4) race condition which can result in a panic: [snip] This change causes panics in kernels that don't have device bpf present. The attached patch fixes this.

cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/ipw if_ipw.c src/sys/dev/iwi if_iwi.c src/sys/dev/ral rt2560.c rt2661.c src/sys/dev/usb if_ural.c src/sys/dev/wi if_wi.c src/sys/net bpf.c bpf.h bpfdes

2006-06-02 Thread Christian S.J. Peron
csjp2006-06-02 19:59:33 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c sys/dev/ipw if_ipw.c sys/dev/iwi if_iwi.c sys/dev/ral rt2560.c rt2661.c sys/dev/usb if_ural.c sys/dev/wi if_wi.c

Re: cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/ipw if_ipw.c src/sys/dev/iwi if_iwi.c src/sys/dev/ral rt2560.c rt2661.c src/sys/dev/usb if_ural.c src/sys/dev/wi if_wi.c src/sys/net bpf.c

2006-06-02 Thread Sam Leffler
For the record we can eliminate the indirect ref through if_bpf if we embed the structure in the ifnet. For ifnet's that hookup to bpf this is a no-cost improvement. The downside is that ifnet's that don't work with bpf incur the overhead for the structure despite not using it. We decided to do

Re: cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/ipw if_ipw.c src/sys/dev/iwi if_iwi.c src/sys/dev/ral rt2560.c rt2661.c src/sys/dev/usb if_ural.c src/sys/dev/wi if_wi.c src/sys/net bpf.c

2006-06-02 Thread Benno Rice
Christian S.J. Peron wrote: [snip] Log: Fix the following bpf(4) race condition which can result in a panic: [snip] This change causes panics in kernels that don't have device bpf present. The attached patch fixes this. -- Benno Rice [EMAIL PROTECTED] Index: bpf.h