From: Abraham Arce <abraham.arce.moreno@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Re: KS8851: Possible NULL dereferenced in ks8851_rx_pkts
Date: Wed, 5 May 2010 03:41:24 -0500 [thread overview]
Message-ID: <x2tcb8016981005050141z8736ebc5ldcf6686694f86762@mail.gmail.com> (raw)
In-Reply-To: <20100413.012844.26960227.davem@davemloft.net>
David,
>> These changes avoid a possible dereference in skb_reserve when skb is
>> NULL. I am increasing rx dropped packet count but not sure about how
>> to handle the dump of frames. Any advice is appreciated.
>
> This isn't sufficient to handle the NULL pointer.
>
> At a minimum you're going to have to do something about
> the fact that the chip has already been told to start
> bringing the packet into the RX fifo.
Ok
>
> If we just return without finishing up the hardware
> operation, the chip is probably going to hang the next
> time we come in here and tell it to start another RX
> DMA operation without having completed the previous one.
>
> The bug definitely needs to be fixed, however, but someone who knows
> this hardware and has access to it for testing will need to implement
> the fix.
>
I'll give a try and test, have a hardware with me...
Thanks!
Abraham
prev parent reply other threads:[~2010-05-05 8:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-08 7:03 KS8851: Possible NULL dereferenced in ks8851_rx_pkts Abraham Arce
2010-04-13 8:28 ` David Miller
2010-05-05 8:41 ` Abraham Arce [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x2tcb8016981005050141z8736ebc5ldcf6686694f86762@mail.gmail.com \
--to=abraham.arce.moreno@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).