Commit:     1e51f9513e6b021abcaefd7c76f9b5d682f83232
Parent:     64a146513f8f12ba204b7bf5cb7e9505594ead42
Author:     Johannes Berg <[EMAIL PROTECTED]>
AuthorDate: Tue Mar 6 13:44:06 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Mar 6 13:44:06 2007 -0800

    [NET]: Fix compat_sock_common_getsockopt typo.
    This patch fixes a typo in compat_sock_common_getsockopt.
    Signed-off-by: Johannes Berg <[EMAIL PROTECTED]>
    Acked-by: James Morris <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/core/sock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/core/sock.c b/net/core/sock.c
index e9986ac..8d65d64 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -1597,7 +1597,7 @@ int compat_sock_common_getsockopt(struct socket *sock, 
int level, int optname,
        struct sock *sk = sock->sk;
-       if (sk->sk_prot->compat_setsockopt != NULL)
+       if (sk->sk_prot->compat_getsockopt != NULL)
                return sk->sk_prot->compat_getsockopt(sk, level, optname,
                                                      optval, optlen);
        return sk->sk_prot->getsockopt(sk, level, optname, optval, optlen);
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

Reply via email to