netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Duplicate access_ok in sunrpc
@ 2003-08-11 16:48 davej
  2003-08-12  5:30 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: davej @ 2003-08-11 16:48 UTC (permalink / raw)
  To: netdev

Already checked some lines above.

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/net/sunrpc/sysctl.c linux-2.5/net/sunrpc/sysctl.c
--- bk-linus/net/sunrpc/sysctl.c	2003-06-30 14:01:04.000000000 +0100
+++ linux-2.5/net/sunrpc/sysctl.c	2003-06-30 16:04:03.000000000 +0100
@@ -102,7 +102,7 @@ proc_dodebug(ctl_table *table, int write
 		len = sprintf(tmpbuf, "%d", *(unsigned int *) table->data);
 		if (len > left)
 			len = left;
-		copy_to_user(buffer, tmpbuf, len);
+		__copy_to_user(buffer, tmpbuf, len);
 		if ((left -= len) > 0) {
 			put_user('\n', (char *)buffer + len);
 			left--;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Duplicate access_ok in sunrpc
  2003-08-11 16:48 [PATCH] Duplicate access_ok in sunrpc davej
@ 2003-08-12  5:30 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-08-12  5:30 UTC (permalink / raw)
  To: davej; +Cc: netdev

On Mon, 11 Aug 2003 17:48:57 +0100
davej@redhat.com wrote:

> Already checked some lines above.

Applied, thanks David.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-12  5:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-11 16:48 [PATCH] Duplicate access_ok in sunrpc davej
2003-08-12  5:30 ` David S. Miller

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).