Re: [Dumb Patch] socket.c

From: David Lombard (david.lombard@mscsoftware.com)
Date: Tue Aug 08 2000 - 12:10:39 EST


Justin wrote:
>
[deletia]
> -
>
> Completely unrelated patch; if it looks weird, look up about 10 lines.

Justin's patch for 2.2.17pre15:

--- linux/net/socket.c.orig Wed May 3 17:16:54 2000
+++ linux/net/socket.c Tue Aug 8 10:06:31 2000
@@ -1165,7 +1165,6 @@
                         /* Note - when this code becomes multithreaded on
                          * SMP machines you have a race to fix here.
                          */
- err = -ENOBUFS;
                         ctl_buf = sock_kmalloc(sock->sk, ctl_len, GFP_KERNEL);
                         if (ctl_buf == NULL)
                                 goto out_freeiov;

-- 
David N. Lombard
MSC.Software

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:15 EST