patch-2.1.94 linux/include/net/ip.h
Next file: linux/init/main.c
Previous file: linux/include/linux/videotext.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed Apr 8 18:17:32 1998
- Orig file:
v2.1.93/linux/include/net/ip.h
- Orig date:
Mon Apr 6 17:41:01 1998
diff -u --recursive --new-file v2.1.93/linux/include/net/ip.h linux/include/net/ip.h
@@ -142,15 +142,7 @@
skb->protocol = __constant_htons(ETH_P_IP);
if (hh) {
-#ifdef __alpha__
- /* Alpha has disguisting memcpy. Help it. */
- u64 *aligned_hdr = (u64*)(skb->data - 16);
- u64 *aligned_hdr0 = hh->hh_data;
- aligned_hdr[0] = aligned_hdr0[0];
- aligned_hdr[1] = aligned_hdr0[1];
-#else
memcpy(skb->data - 16, hh->hh_data, 16);
-#endif
skb_push(skb, dev->hard_header_len);
return hh->hh_output(skb);
} else if (dst->neighbour)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov