Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2008 00:50:03 GMT
From:      Ryan French <rfrench@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 145924 for review
Message-ID:  <200807260050.m6Q0o3Hj084869@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=145924

Change 145924 by rfrench@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);



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