On Tue, Dec 06, 2005 at 02:58:12AM +0000, Jung-uk Kim wrote:
>
> Revision Changes Path
[..]
> 1.162 +54 -3 src/sys/net/bpf.c
> 1.1 +85 -0 src/sys/net/bpf_jitter.c (new)
> 1.1 +80 -0 src/sys/net/bpf_jitter.h (new)
[..]
BPFD_LOCK(d);
if (wfilter)
d->bd_wfilter = fcode;
else {
d->bd_rfilter = fcode;
#if BPF_JITTER
d->bd_bfilter = bpf_jitter(fcode, flen);
#endif
You are calling bpf_jitter() with a mutex held, and it looks like
bpf_jitter() will call malloc with M_WAITOK. Are you sure you want
to do this?
--
Christian S.J. Peron
[EMAIL PROTECTED]
FreeBSD Committer
FreeBSD Security Team
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"