[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#409313: linux-image-2.6.18-4-sparc64: Netra X1 - Kernel unaligned access in rp_rcv and ip_fast_csum



On Thu, 01 Mar 2007, Emanuele Rocca wrote:

> Hello Peter,
> 
> * Peter Palfrader <weasel@debian.org>, [2007-03-01  0:53 +0100]:
> >  On Tue, 27 Feb 2007, Emanuele Rocca wrote:
> >  > http://article.gmane.org/gmane.linux.ports.sparc/7178

> >  I'll also test the patch tomorrow and let you know how it works out.
> 
> I guess it should work but yeah, please try it out.

I can confirm that the patch at the location above fixes the unaligned
access problems I have been reporting.  Network access is now fast and
lag free and no silly warnings filling up the logs.


for reference again, this is the patch:

--- a/drivers/net/tulip/tulip_core.c
+++ b/drivers/net/tulip/tulip_core.c
@@ -67,7 +67,7 @@ const char * const medianame[32] = {

 /* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */
 #if defined(__alpha__) || defined(__arm__) || defined(__hppa__) \
-	|| defined(__sparc_) || defined(__ia64__) \
+	|| defined(__sparc__) || defined(__ia64__) \
 	|| defined(__sh__) || defined(__mips__)
 static int rx_copybreak = 1518;
 #else

-- 
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/



Reply to: