[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090420.031439.55595103.davem@davemloft.net>
Date: Mon, 20 Apr 2009 03:14:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tzungder@...il.com
Cc: dada1@...mosbay.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2.6.29.1 1/1] 8139too: fix HW initial flow
From: Tzungder Lin <tzungder@...il.com>
Date: Mon, 20 Apr 2009 09:54:10 +0800
> From: Jonathan Lin <tzungder@...il.com>
>
> While ifconfig eth0 up kernel calls open() of 8139 driver(8139too.c).
> In rtl8139_hw_start() of rtl8139_open(), 8139 driver enable RX before
> setting up the DMA buffer address. In this interval where RX was
> enabled and DMA buffer address is not yet set up, any incoming
> broadcast packet would be send to a strange physical address:
> 0x003e8800 which is the default value of DMA buffer address.
> Unfortunately, this address is used by Linux kernel. So kernel panics.
> This patch fix it by setting up DMA buffer address before RX enabled
> and everything is fine even under broadcast packets attack.
>
> Signed-off-by: Jonathan Lin <tzungder@...il.com>
Your email client corrupted this patch, breaking up long lines
and substituting tabs with space characters among other things.
Please fix this up and resubmit.
I would suggest trying to send the patch to yourself and then trying
to apply what arrives in your inbox, just as I would.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists