| To: | "linux-mips@linux-mips.org" <linux-mips@linux-mips.org> |
|---|---|
| Subject: | Re: Re: Hi, this is my patch for broadcom sb1250-mac.c |
| From: | Greg Lindahl <lindahl@keyresearch.com> |
| Date: | Thu, 29 May 2003 12:06:01 -0700 |
| In-reply-to: | <200305300246578.SM00840@RavProxy> |
| Mail-followup-to: | "linux-mips@linux-mips.org" <linux-mips@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <200305300246578.SM00840@RavProxy> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.1i |
On Fri, May 30, 2003 at 02:43:35AM +0800, Zhang Haitao wrote: > and dear Greg Lindahl: > you just pointed out the function skb_over_panic(), but there are > many reasons will lead that fault! It is not an obvious bug, but this is an important clue. If you then look at skb_put (in include/linux/skbuff.h) you will find that you have written beyond the end of a skbuf, or a stray pointer has damaged the size of the skbuf. I would next put some debugging code before every skb_put() call (there are only 2 in sbmac.c) to see if it will overflow, and printk something if it is. Any kernel bug that you can make happen repeatedly can be debugged in this fashion. -- greg |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Re: Hi, this is my patch for broadcom sb1250-mac.c, Zhang Haitao |
|---|---|
| Next by Date: | another handheld question, Erik J. Green |
| Previous by Thread: | Re: Re: Hi, this is my patch for broadcom sb1250-mac.c, Zhang Haitao |
| Next by Thread: | RE: linux on SHARP mips3000, Roy Maligro |
| Indexes: | [Date] [Thread] [Top] [All Lists] |