patch-2.1.36 linux/net/ipv4/ip_sockglue.c
Next file: linux/net/ipv4/proc.c
Previous file: linux/net/ipv4/ip_fragment.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Apr 22 22:46:27 1997
- Orig file:
v2.1.35/linux/net/ipv4/ip_sockglue.c
- Orig date:
Tue Mar 4 10:25:27 1997
diff -u --recursive --new-file v2.1.35/linux/net/ipv4/ip_sockglue.c linux/net/ipv4/ip_sockglue.c
@@ -296,10 +296,8 @@
if (sk->ip_recverr && !val) {
struct sk_buff *skb;
/* Drain queued errors */
- while((skb=skb_dequeue(&sk->error_queue))!=NULL) {
- IS_SKB(skb);
+ while((skb=skb_dequeue(&sk->error_queue))!=NULL)
kfree_skb(skb, FREE_READ);
- }
}
sk->ip_recverr = val?1:0;
release_sock(sk);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov