Date: Sat, 5 Apr 2008 17:24:44 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/de if_de.c Message-ID: <200804051724.m35HOiM3046350@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-04-05 17:24:44 UTC FreeBSD src repository Modified files: sys/dev/de if_de.c Log: During attach on some de(4) adapters the driver sends out a test packet as part of detecting the media. Explicitly ensure that we don't send it to bpf(4) as bpf(4) isn't setup yet. This worked by accident before the bpf interface stuff was reworked to avoid other races (bpf_peers_present, etc.) but now it needs an explicit check to avoid a panic. MFC after: 3 days PR: kern/120915 Revision Changes Path 1.184 +6 -2 src/sys/dev/de/if_de.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804051724.m35HOiM3046350>