[Bug 193681] kernel panic: dhclient NULL pointer in ether_output_frame() when using dummynet at layer2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 25 02:26:47 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193681

--- Comment #8 from commit-hook at freebsd.org ---
A commit references this bug:

Author: sbruno
Date: Thu Sep 25 02:26:06 UTC 2014
New revision: 272089
URL: http://svnweb.freebsd.org/changeset/base/272089

Log:
  Fix NULL pointer deref in ipfw when using dummynet at layer 2.
  Drop packet if pkg->ifp is NULL, which is the case here.

  ref. https://github.com/HardenedBSD/hardenedBSD
  commit 4eef3881c64f6e3aa38eebbeaf27a947a5d47dd7

  PR 193861 --  DUMMYNET LAYER2: kernel panic

  in this case a kernel panic occurs. Hence, when we do not get an interface,
  we just drop the packet in question.

  PR:        193681
  Submitted by:    David Carlier <david.carlier at hardenedbsd.org>
  Obtained from:    Hardened BSD
  MFC after:    2 weeks
  Relnotes:    yes

Changes:
  head/sys/netpfil/ipfw/ip_dn_io.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list