On Sat, Dec 10, 2005 at 11:28:33PM -0800, Andrew Morton wrote:
> 
> This is from my x86_64 box's boot output:
> 
> 
> Badness in sk_del_node_init at include/net/sock.h:330

I wonder why this didn't trigger on my box.  It looks like I missed the 
sock_put in the error codepath, which the following fixes.  Does this 
help?

                -ben

--- a/net/unix/af_unix.c.old    2005-12-11 11:22:13.000000000 -0500
+++ b/net/unix/af_unix.c        2005-12-11 11:54:43.000000000 -0500
@@ -1492,8 +1492,6 @@
                send_sig(SIGPIPE,current,0);
        err = -EPIPE;
 out_err:
-        if (other)
-               sock_put(other);
        scm_destroy(siocb->scm);
        siocb->scm = NULL;
        return sent ? : err;
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to