]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r270348:
authormarkj <markj@FreeBSD.org>
Sat, 6 Sep 2014 04:39:26 +0000 (04:39 +0000)
committermarkj <markj@FreeBSD.org>
Sat, 6 Sep 2014 04:39:26 +0000 (04:39 +0000)
commit5a094736fbe3fd6bd8c010c175a09079474f21b1
tree4fbf7ab9d79f6bc57abd704e201518ed3ce92e8f
parent27eceb3a0f34841bf4ee20b50a6908858356ce12
MFC r270348:
Add some missing checks for unsupported interfaces (e.g. pflog(4)) when
handling ioctls. While here, remove duplicated checks for a NULL ifp in
in6_control(): this check is already done near the beginning of the
function.

MFC r270349:
Suppress warnings when retrieving protocol stats from interfaces that
don't support IPv6 (e.g. pflog(4)).

PR: 189117
Approved by: re (gjb)
sys/netinet6/in6.c
sys/netinet6/scope6.c
sys/netinet6/scope6_var.h
usr.bin/netstat/inet6.c