patch-1.3.54 linux/net/ipx/af_ipx.c
Next file: linux/scripts/header.tk
Previous file: linux/net/ipv4/tcp.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Wed Jan 3 20:37:05 1996
- Orig file:
v1.3.53/linux/net/ipx/af_ipx.c
- Orig date:
Wed Dec 27 09:12:15 1995
diff -u --recursive --new-file v1.3.53/linux/net/ipx/af_ipx.c linux/net/ipx/af_ipx.c
@@ -573,6 +573,7 @@
/* set up data link and physical headers */
skb->dev = dev;
+ skb->protocol = htons(ETH_P_IPX);
dl->datalink_header(dl, skb, dest_node);
#if 0
/*
@@ -1094,10 +1095,11 @@
skb=sock_alloc_send_skb(sk, size, 0, 0, &err);
if(skb==NULL)
return err;
-
+
skb_reserve(skb,ipx_offset);
skb->free=1;
skb->arp=1;
+ skb->sk=sk;
/* Fill in IPX header */
ipx=(ipx_packet *)skb_put(skb,sizeof(ipx_packet));
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