patch-2.4.21 linux-2.4.21/net/core/sock.c
Next file: linux-2.4.21/net/core/wireless.c
Previous file: linux-2.4.21/net/core/skbuff.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
2003-06-13 07:51:39.000000000 -0700
- Orig file:
linux-2.4.20/net/core/sock.c
- Orig date:
2002-08-02 17:39:46.000000000 -0700
diff -urN linux-2.4.20/net/core/sock.c linux-2.4.21/net/core/sock.c
@@ -793,6 +793,7 @@
page = alloc_pages(sk->allocation, 0);
if (!page) {
err = -ENOBUFS;
+ skb_shinfo(skb)->nr_frags = i;
kfree_skb(skb);
goto failure;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)