Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3b1855255098e1f78fa74c0f3378c0391e9a7a2b
Commit:     3b1855255098e1f78fa74c0f3378c0391e9a7a2b
Parent:     cd8d60f28f519786f00d64d68bb3b7669bdfbcb8
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 15 14:46:02 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Aug 15 14:46:02 2007 -0700

    [NET]: Fix unbalanced rcu_read_unlock in __sock_create
    
    The recent RCU work created an unbalanced rcu_read_unlock
    in __sock_create.  This patch fixes that.  Reported by
    oleg 123.
    
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/socket.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/socket.c b/net/socket.c
index ec07703..7d44453 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -1168,7 +1168,7 @@ static int __sock_create(int family, int type, int 
protocol,
        module_put(pf->owner);
        err = security_socket_post_create(sock, family, type, protocol, kern);
        if (err)
-               goto out_release;
+               goto out_sock_release;
        *res = sock;
 
        return 0;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to