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
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.
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
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
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