[PATCH] fix compat_sock_common_getsockopt typo
This patch fixes a typo in compat_sock_common_getsockopt. Signed-off-by: Johannes Berg [EMAIL PROTECTED] --- wireless-dev.orig/net/core/sock.c 2007-03-06 15:44:15.618565674 +0100 +++ wireless-dev/net/core/sock.c2007-03-06 15:44:25.948565674 +0100 @@ -1597,7 +1597,7 @@ int compat_sock_common_getsockopt(struct { 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 netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] fix compat_sock_common_getsockopt typo
On Tue, 6 Mar 2007, Johannes Berg wrote: This patch fixes a typo in compat_sock_common_getsockopt. Signed-off-by: Johannes Berg [EMAIL PROTECTED] --- wireless-dev.orig/net/core/sock.c 2007-03-06 15:44:15.618565674 +0100 +++ wireless-dev/net/core/sock.c 2007-03-06 15:44:25.948565674 +0100 @@ -1597,7 +1597,7 @@ int compat_sock_common_getsockopt(struct { 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); Acked-by: James Morris [EMAIL PROTECTED] -- James Morris [EMAIL PROTECTED] - 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
Re: [PATCH] fix compat_sock_common_getsockopt typo
From: James Morris [EMAIL PROTECTED] Date: Tue, 6 Mar 2007 10:06:00 -0500 (EST) On Tue, 6 Mar 2007, Johannes Berg wrote: This patch fixes a typo in compat_sock_common_getsockopt. Signed-off-by: Johannes Berg [EMAIL PROTECTED] --- wireless-dev.orig/net/core/sock.c 2007-03-06 15:44:15.618565674 +0100 +++ wireless-dev/net/core/sock.c2007-03-06 15:44:25.948565674 +0100 @@ -1597,7 +1597,7 @@ int compat_sock_common_getsockopt(struct { 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); Acked-by: James Morris [EMAIL PROTECTED] Applied, thanks evryone. - 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