Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Philip Blundell <Philip.Blundell@pobox.com>
Subject: patch for csum_partial copy
Date: Thu, 27 Feb 1997 19:30:37 +0000 (GMT)	[thread overview]
Message-ID: <44690668e6fff6fb8adb3c9aed7ea1d6.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95.970227153854.2196A-100000@kings-cross.london.uk.eu.org>

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

           reply	other threads:[~1997-02-27 19:30 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <Pine.LNX.3.95.970227153854.2196A-100000@kings-cross.london.uk.eu.org>]
read-only archive

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