Initialize inc_fibnum for properly handling ICMP6_PACKET_TOO_BIG errors
in multifib environment. PR: 183265 MFC after: 1 week
This commit is contained in:
parent
594ce9ad6f
commit
baa09f1891
@ -1227,6 +1227,7 @@ icmp6_mtudisc_update(struct ip6ctlparam *ip6cp, int validated)
|
||||
mtu = IPV6_MMTU - 8;
|
||||
|
||||
bzero(&inc, sizeof(inc));
|
||||
inc.inc_fibnum = M_GETFIB(m);
|
||||
inc.inc_flags |= INC_ISIPV6;
|
||||
inc.inc6_faddr = *dst;
|
||||
if (in6_setscope(&inc.inc6_faddr, m->m_pkthdr.rcvif, NULL))
|
||||
|
Loading…
Reference in New Issue
Block a user