Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* patch for csum_partial copy
       [not found] <Pine.LNX.3.95.970227153854.2196A-100000@kings-cross.london.uk.eu.org>
@ 1997-02-27 19:30 ` Philip Blundell
  0 siblings, 0 replies; only message in thread
From: Philip Blundell @ 1997-02-27 19:30 UTC (permalink / raw)


This patch (against 2.1.27) fixes a problem that was preventing TCP from
working on the Alpha.

phil

--- linux/arch/alpha/lib/csum_partial_copy.c~	Mon Feb 10 01:09:10 1997
+++ linux/arch/alpha/lib/csum_partial_copy.c	Thu Feb 27 15:44:14 1997
@@ -305,8 +305,8 @@
 }
 
 unsigned int
-csum_partial_copy_from_user(int *errp, char *src, char *dst,
-			    int len, unsigned int sum)
+csum_partial_copy_from_user(char *src, char *dst,
+			    int len, unsigned int sum, int *errp)
 {
 	unsigned long checksum = (unsigned) sum;
 	unsigned long soff = 7 & (unsigned long) src;
@@ -363,7 +363,7 @@
 	unsigned int ret;
 	int error = 0;
 
-	ret = csum_partial_copy_from_user(&error, src, dst, len, sum);
+	ret = csum_partial_copy_from_user(src, dst, len, sum, &error);
 	if (error)
 		printk("csum_partial_copy_old(): tell mingo to convert me!\n");
 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

only message in thread, other threads:[~1997-02-27 19:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.95.970227153854.2196A-100000@kings-cross.london.uk.eu.org>
1997-02-27 19:30 ` patch for csum_partial copy Philip Blundell

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