PERFORCE change 145924 for review

Ryan French rfrench at FreeBSD.org
Sat Jul 26 00:50:04 UTC 2008


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

Change 145924 by rfrench at rfrench_mpls on 2008/07/26 00:50:02

	Added netisr.c and netisr.h to the project. Fixed a typo in if_ethersubr.c Continuing to work on getting packet sending and receiving working so I can start on more advanced features.

Affected files ...

.. //depot/projects/soc2008/rfrench_mpls/net/if_ethersubr.c#3 edit
.. //depot/projects/soc2008/rfrench_mpls/net/netisr.c#1 add
.. //depot/projects/soc2008/rfrench_mpls/net/netisr.h#1 add

Differences ...

==== //depot/projects/soc2008/rfrench_mpls/net/if_ethersubr.c#3 (text+ko) ====

@@ -831,7 +831,7 @@
 				senderr(EHOSTUNREACH);
 		}
 		/* XXX handling for simplex devices in case of M/BCAST ?? */
-		if (m->m_flags & (M_BCAST | M_MCAST))
+		if (m->m_flags && (M_BCAST | M_MCAST))
 			etype = htons(ETHERTYPE_MPLS_MCAST);
 		else
 			etype = htons(ETHERTYPE_MPLS);


More information about the p4-projects mailing list