Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 01:02:25 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257084 - head/sys/netinet6
Message-ID:  <201310250102.r9P12P2h017436@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Fri Oct 25 01:02:25 2013
New Revision: 257084
URL: http://svnweb.freebsd.org/changeset/base/257084

Log:
  Initialize inc_fibnum for properly handling ICMP6_PACKET_TOO_BIG errors
  in multifib environment.
  
  PR:		183265
  MFC after:	1 week

Modified:
  head/sys/netinet6/icmp6.c

Modified: head/sys/netinet6/icmp6.c
==============================================================================
--- head/sys/netinet6/icmp6.c	Fri Oct 25 00:35:26 2013	(r257083)
+++ head/sys/netinet6/icmp6.c	Fri Oct 25 01:02:25 2013	(r257084)
@@ -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))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310250102.r9P12P2h017436>