Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2009 20:36:32 GMT
From:      Ana Kukec <anchie@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 165517 for review
Message-ID:  <200907012036.n61KaW55057576@repoman.freebsd.org>

index | next in thread | raw e-mail

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

Change 165517 by anchie@anchie_malimis on 2009/07/01 20:35:55

	Return after passing the mbuf to the user space via the rtm interface.	

Affected files ...

.. //depot/projects/soc2009/anchie_send/src/sys/netinet6/nd6.c#12 edit

Differences ...

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

@@ -1914,12 +1914,13 @@
 	if (send_output_hook != NULL) {
 		mtag = m_tag_find(m, PACKET_TAG_ND_OUTGOING, NULL);
 		if (mtag != NULL) {
-			printf("%s %d: ND_OUTGOING tag found.\n", __FUNCTION__, __LINE__);
+			printf("%s: ND_OUTGOING tag found.\n", __FUNCTION__);
 			nd_type = (unsigned short *)(mtag + 1);
+			send_output_hook(m, ifp, 0, ip6len);
 		} else
-			return(ENOMSG);
+			error = EOPNOTSUPP;
 
-		send_output_hook(m, ifp, 0, ip6len);
+		return error;
 	} else {
 
 	/*


help

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