From: David Miller <davem@davemloft.net>
To: jmorris@namei.org
Cc: johannes@sipsolutions.net, netdev@vger.kernel.org
Subject: Re: [PATCH] fix compat_sock_common_getsockopt typo
Date: Tue, 06 Mar 2007 13:44:30 -0800 (PST) [thread overview]
Message-ID: <20070306.134430.45512920.davem@davemloft.net> (raw)
In-Reply-To: <Line.LNX.4.64.0703061005420.22674@d.namei>
From: James Morris <jmorris@namei.org>
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 <johannes@sipsolutions.net>
> >
> > --- 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 <jmorris@namei.org>
Applied, thanks evryone.
prev parent reply other threads:[~2007-03-06 21:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-05 23:26 compat_sock_common_getsockopt typo? Johannes Berg
2007-03-06 14:43 ` James Morris
2007-03-06 14:45 ` [PATCH] fix compat_sock_common_getsockopt typo Johannes Berg
2007-03-06 15:06 ` James Morris
2007-03-06 21:44 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070306.134430.45512920.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jmorris@namei.org \
--cc=johannes@sipsolutions.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).