patch-1.3.65 linux/net/ipv4/raw.c
Next file: linux/net/ipv4/route.c
Previous file: linux/net/ipv4/packet.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Fri Feb 16 13:23:54 1996
- Orig file:
v1.3.64/linux/net/ipv4/raw.c
- Orig date:
Wed Feb 7 15:11:43 1996
diff -u --recursive --new-file v1.3.64/linux/net/ipv4/raw.c linux/net/ipv4/raw.c
@@ -148,8 +148,7 @@
}
ip_statistics.IpInDelivers++;
- release_sock(sk);
- return(0);
+ return 0;
}
/*
@@ -342,8 +341,7 @@
sin->sin_family = AF_INET;
sin->sin_addr.s_addr = skb->daddr;
}
- skb_free_datagram(skb);
- release_sock(sk);
+ skb_free_datagram(sk, skb);
return (copied);
}
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