Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/rump/net/lib/libshmif Pull up following revision(s) (...
details: https://anonhg.NetBSD.org/src/rev/37e2872132b3
branches: netbsd-6
changeset: 775649:37e2872132b3
user: riz <riz%NetBSD.org@localhost>
date: Fri Feb 08 20:51:12 2013 +0000
description:
Pull up following revision(s) (requested by gdt in ticket #796):
sys/rump/net/lib/libshmif/if_shmem.c: revision 1.46
Pass up all multicast addresses, not just broadcast. Among other
things, makes IPv6 work over this interface.
diffstat:
sys/rump/net/lib/libshmif/if_shmem.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r d309552a2196 -r 37e2872132b3 sys/rump/net/lib/libshmif/if_shmem.c
--- a/sys/rump/net/lib/libshmif/if_shmem.c Fri Feb 08 20:49:21 2013 +0000
+++ b/sys/rump/net/lib/libshmif/if_shmem.c Fri Feb 08 20:51:12 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_shmem.c,v 1.44 2011/11/19 22:51:31 tls Exp $ */
+/* $NetBSD: if_shmem.c,v 1.44.4.1 2013/02/08 20:51:12 riz Exp $ */
/*
* Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_shmem.c,v 1.44 2011/11/19 22:51:31 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_shmem.c,v 1.44.4.1 2013/02/08 20:51:12 riz Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -720,8 +720,7 @@
if (memcmp(eth->ether_dhost, CLLADDR(ifp->if_sadl),
ETHER_ADDR_LEN) == 0) {
passup = true;
- } else if (memcmp(eth->ether_dhost, etherbroadcastaddr,
- ETHER_ADDR_LEN) == 0) {
+ } else if (ETHER_IS_MULTICAST(eth->ether_dhost)) {
passup = true;
} else if (ifp->if_flags & IFF_PROMISC) {
m->m_flags |= M_PROMISC;
Home |
Main Index |
Thread Index |
Old Index