cvs commit: src/sys/dev/de if_de.c

John Baldwin jhb at FreeBSD.org
Sat Apr 5 17:24:45 UTC 2008


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


More information about the cvs-src mailing list