patch-2.4.9 linux/net/bridge/br_device.c

Next file: linux/net/bridge/br_forward.c
Previous file: linux/net/ax25/af_ax25.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/net/bridge/br_device.c linux/net/bridge/br_device.c
@@ -5,7 +5,7 @@
  *	Authors:
  *	Lennert Buytenhek		<buytenh@gnu.org>
  *
- *	$Id: br_device.c,v 1.4 2001/06/01 09:28:28 davem Exp $
+ *	$Id: br_device.c,v 1.5 2001/08/14 22:05:57 davem Exp $
  *
  *	This program is free software; you can redistribute it and/or
  *	modify it under the terms of the GNU General Public License
@@ -53,7 +53,8 @@
 	br->statistics.tx_packets++;
 	br->statistics.tx_bytes += skb->len;
 
-	dest = skb->data;
+	dest = skb->mac.raw = skb->data;
+	skb_pull(skb, ETH_HLEN);
 
 	if (dest[0] & 1) {
 		br_flood_deliver(br, skb, 0);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)