public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: x25-selective-sub-address-matching-with.patch added to -mm tree
       [not found] <200505310933.j4V9XiiS009653@shell0.pdx.osdl.net>
@ 2005-05-31 16:14 ` Alexey Dobriyan
  0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2005-05-31 16:14 UTC (permalink / raw)
  To: spereira; +Cc: akpm, linux-kernel

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-31 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200505310933.j4V9XiiS009653@shell0.pdx.osdl.net>
2005-05-31 16:14 ` x25-selective-sub-address-matching-with.patch added to -mm tree Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox