patch-2.4.0-test11 linux/net/bridge/br_fdb.c
Next file: linux/net/bridge/br_if.c
Previous file: linux/net/ax25/sysctl_net_ax25.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu Nov 9 15:57:53 2000
- Orig file:
v2.4.0-test10/linux/net/bridge/br_fdb.c
- Orig date:
Thu Feb 24 10:30:25 2000
diff -u --recursive --new-file v2.4.0-test10/linux/net/bridge/br_fdb.c linux/net/bridge/br_fdb.c
@@ -5,7 +5,7 @@
* Authors:
* Lennert Buytenhek <buytenh@gnu.org>
*
- * $Id: br_fdb.c,v 1.4 2000/02/24 06:16:45 davem Exp $
+ * $Id: br_fdb.c,v 1.5 2000/11/08 05:16:40 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -43,6 +43,7 @@
static __inline__ void copy_fdb(struct __fdb_entry *ent, struct net_bridge_fdb_entry *f)
{
+ memset(ent, 0, sizeof(struct __fdb_entry));
memcpy(ent->mac_addr, f->addr.addr, ETH_ALEN);
ent->port_no = f->dst?f->dst->port_no:0;
ent->is_local = f->is_local;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)