Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/net Pull up following revision(s) (requested by adr...
details: https://anonhg.NetBSD.org/src/rev/8d7cc415fa43
branches: netbsd-2-0
changeset: 564943:8d7cc415fa43
user: tron <tron%NetBSD.org@localhost>
date: Sun Feb 12 16:30:24 2006 +0000
description:
Pull up following revision(s) (requested by adrianp in ticket #10306):
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 3c52f5da9b80 -r 8d7cc415fa43 sys/net/if_bridge.c
--- a/sys/net/if_bridge.c Fri Jan 27 22:21:19 2006 +0000
+++ b/sys/net/if_bridge.c Sun Feb 12 16:30:24 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bridge.c,v 1.22.2.2 2006/01/09 13:31:22 tron Exp $ */
+/* $NetBSD: if_bridge.c,v 1.22.2.3 2006/02/12 16:30:24 tron Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.22.2.2 2006/01/09 13:31:22 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.22.2.3 2006/02/12 16:30:24 tron Exp $");
#include "opt_bridge_ipf.h"
#include "opt_inet.h"
@@ -761,6 +761,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