[Bug 210943] Page fault in ip6_setpktopts when syncthing is started with pflog loaded

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 13 19:42:09 UTC 2016


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

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

Author: dim
Date: Wed Jul 13 19:41:19 UTC 2016
New revision: 302784
URL: https://svnweb.freebsd.org/changeset/base/302784

Log:
  Fix a page fault in ip6_setpktopt(), occurring when the pflog module is
  loaded, and syncthing is started, which uses setsockopt(IPV6_PKGINFO).

  This is because pflog interfaces do not normally have an IPv6 address,
  causing the ND_IFINFO() macro to dereference a NULL pointer.

  Reviewed by:  ae
  PR:           210943
  MFC after:    3 days

Changes:
  head/sys/netinet6/ip6_output.c

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


More information about the freebsd-net mailing list