Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/sys/net Pull up following revision(s) (requested by adria...



details:   https://anonhg.NetBSD.org/src/rev/9940b851cc3a
branches:  netbsd-3
changeset: 577819:9940b851cc3a
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Feb 12 16:49:50 2006 +0000

description:
Pull up following revision(s) (requested by adrianp in ticket #1163):
        sys/net/if_bridge.c: revision 1.36
Make sure that breq is also cleared (from Xin LI)

diffstat:

 sys/net/if_bridge.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 418ab80beeaa -r 9940b851cc3a sys/net/if_bridge.c
--- a/sys/net/if_bridge.c       Wed Feb 08 21:11:46 2006 +0000
+++ b/sys/net/if_bridge.c       Sun Feb 12 16:49:50 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bridge.c,v 1.29.2.1 2006/01/09 13:33:41 tron Exp $  */
+/*     $NetBSD: if_bridge.c,v 1.29.2.2 2006/02/12 16:49:50 tron Exp $  */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.29.2.1 2006/01/09 13:33:41 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.29.2.2 2006/02/12 16:49:50 tron Exp $");
 
 #include "opt_bridge_ipf.h"
 #include "opt_inet.h"
@@ -772,6 +772,7 @@
 
        count = 0;
        len = bifc->ifbic_len;
+       memset(&breq, 0, sizeof breq);
        LIST_FOREACH(bif, &sc->sc_iflist, bif_next) {
                if (len < sizeof(breq))
                        break;



Home | Main Index | Thread Index | Old Index