public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: spereira@tusc.com.au
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: x25-selective-sub-address-matching-with.patch added to -mm tree
Date: Tue, 31 May 2005 20:14:28 +0400	[thread overview]
Message-ID: <200505312014.30408.adobriyan@gmail.com> (raw)
In-Reply-To: <200505310933.j4V9XiiS009653@shell0.pdx.osdl.net>

On Tuesday 31 May 2005 13:32, akpm@osdl.org wrote:
> x25: selective sub-address matching with call user data

> --- 25/net/x25/af_x25.c~x25-selective-sub-address-matching-with
> +++ 25-akpm/net/x25/af_x25.c

> @@ -1325,6 +1331,23 @@ static int x25_ioctl(struct socket *sock

> +		case SIOCX25SCUDMATCHLEN: {
> +			struct x25_subaddr sub_addr;

> +			if (copy_from_user(&sub_addr, argp,
> +					sizeof(&sub_addr)))
					      ^^^

You want sizeof(sub_addr) here. If other people won't NAKYAIOCTL.

           reply	other threads:[~2005-05-31 16:25 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200505310933.j4V9XiiS009653@shell0.pdx.osdl.net>]

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=200505312014.30408.adobriyan@gmail.com \
    --to=adobriyan@gmail.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=spereira@tusc.com.au \
    /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