patch-2.3.99-pre4 linux/net/bridge/br_input.c
Next file: linux/net/core/datagram.c
Previous file: linux/net/bridge/br.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Mar 30 16:54:53 2000
- Orig file:
v2.3.99-pre3/linux/net/bridge/br_input.c
- Orig date:
Mon Mar 27 08:08:33 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/net/bridge/br_input.c linux/net/bridge/br_input.c
@@ -5,7 +5,7 @@
* Authors:
* Lennert Buytenhek <buytenh@gnu.org>
*
- * $Id: br_input.c,v 1.4 2000/03/21 21:08:47 davem Exp $
+ * $Id: br_input.c,v 1.5 2000/03/30 01:22:23 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -94,6 +94,8 @@
br_flood(br, skb, 1);
if (!passedup)
br_pass_frame_up(br, skb);
+ else
+ kfree_skb(skb);
return;
}
@@ -102,6 +104,8 @@
if (dst != NULL && dst->is_local) {
if (!passedup)
br_pass_frame_up(br, skb);
+ else
+ kfree_skb(skb);
br_fdb_put(dst);
return;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)