]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r302784:
authordim <dim@FreeBSD.org>
Sat, 16 Jul 2016 10:50:28 +0000 (10:50 +0000)
committerdim <dim@FreeBSD.org>
Sat, 16 Jul 2016 10:50:28 +0000 (10:50 +0000)
commitad72fb6dccf97723b0a689dc64909424bcf3dd34
treef580261b05260731ffc8f8f475b446955c46d968
parent060d25114f47f5f3663f6359b0cc813340e08eb8
MFC r302784:

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.

Approved by: re (kib)
Reviewed by: ae
PR: 210943
sys/netinet6/ip6_output.c