diff options
author | kp <kp@FreeBSD.org> | 2015-12-14 19:44:49 +0000 |
---|---|---|
committer | kp <kp@FreeBSD.org> | 2015-12-14 19:44:49 +0000 |
commit | 30ed5ce1ff6645dcdcc03a75644cb64a37e521f3 (patch) | |
tree | 13bc9dd01c70b2c298ecddcf47228eae20e89ca6 /contrib/llvm/lib/CodeGen | |
parent | 237e91b5a1bbaac1ccd6b091e8b2ae3cc09f128e (diff) | |
download | FreeBSD-src-30ed5ce1ff6645dcdcc03a75644cb64a37e521f3.zip FreeBSD-src-30ed5ce1ff6645dcdcc03a75644cb64a37e521f3.tar.gz |
inet6: Do not assume every interface has ip6 enabled.
Certain interfaces (e.g. pfsync0) do not have ip6 addresses (in other words,
ifp->if_afdata[AF_INET6] is NULL). Ensure we don't panic when the MTU is
updated.
pfsync interfaces will never have ip6 support, because it's explicitly disabled
in in6_domifattach().
PR: 205194
Reviewed by: melifaro, hrs
Differential Revision: https://reviews.freebsd.org/D4522
Diffstat (limited to 'contrib/llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions