PERFORCE change 167471 for review

Ana Kukec anchie at FreeBSD.org
Tue Aug 18 12:56:53 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=167471

Change 167471 by anchie at anchie_malimis on 2009/08/18 12:56:32

	Set up the proper interface before passing off the mbuf
	to user land.	

Affected files ...

.. //depot/projects/soc2009/anchie_send/src/sys/netinet6/send.c#26 edit

Differences ...

==== //depot/projects/soc2009/anchie_send/src/sys/netinet6/send.c#26 (text+ko) ====

@@ -51,6 +51,9 @@
 				return (ENOBUFS);
 		}
 
+		/* Before passing off the mbuf record the proper interface. */
+		m->m_pkthdr.rcvif = ifp;
+
 		if (m->m_flags & M_PKTHDR)
 			icmp6len = m->m_pkthdr.len - sizeof(struct ip6_hdr);	
 		else


More information about the p4-projects mailing list