svn commit: r257961 - stable/10/sys/netinet6

Andrey V. Elsukov ae at FreeBSD.org
Mon Nov 11 10:43:40 UTC 2013


Author: ae
Date: Mon Nov 11 10:43:39 2013
New Revision: 257961
URL: http://svnweb.freebsd.org/changeset/base/257961

Log:
  MFC r257084:
    Initialize inc_fibnum for properly handling ICMP6_PACKET_TOO_BIG
    errors in multifib environment.
  
    PR:		183265
  Approved by:	re (hrs)

Modified:
  stable/10/sys/netinet6/icmp6.c
Directory Properties:
  stable/10/sys/   (props changed)

Modified: stable/10/sys/netinet6/icmp6.c
==============================================================================
--- stable/10/sys/netinet6/icmp6.c	Mon Nov 11 10:38:37 2013	(r257960)
+++ stable/10/sys/netinet6/icmp6.c	Mon Nov 11 10:43:39 2013	(r257961)
@@ -1227,6 +1227,7 @@ icmp6_mtudisc_update(struct ip6ctlparam 
 		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))


More information about the svn-src-all mailing list