patch-1.3.14 linux/net/802/psnap.c

Next file: linux/net/802/tr.c
Previous file: linux/net/802/p8023.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.13/linux/net/802/psnap.c linux/net/802/psnap.c
@@ -74,11 +74,7 @@
  
 static void snap_datalink_header(struct datalink_proto *dl, struct sk_buff *skb, unsigned char *dest_node)
 {
-	unsigned char	*rawp;
-
-	rawp = skb_push(skb,5);
-	memcpy(rawp,dl->type,5);
-	skb->h.raw = rawp+5;
+	memcpy(skb_push(skb,5),dl->type,5);
 	snap_dl->datalink_header(snap_dl, skb, dest_node);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this