[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <27F9C60D11D683428E133F85D2BB4A530450AB386F@dlee03.ent.ti.com>
Date: Wed, 8 Sep 2010 18:27:16 -0500
From: "Arce, Abraham" <x0066660@...com>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Shilimkar, Santosh" <santosh.shilimkar@...com>,
"Ha, Tristram" <Tristram.Ha@...rel.com>
Subject: RE: NULL Pointer Deference: NFS & Telnet
Thanks Eric,
> Le mardi 07 septembre 2010 à 16:43 -0500, Arce, Abraham a écrit :
> > > From: Eric Dumazet [mailto:eric.dumazet@...il.com]
[..]
> > How about the following patch? I am using added helper function:
> > netdev_alloc_skb_ip_align()
>
> Hmm, I prefer following patch (not tested), to really cope with
> allocation errors (instead of crashing because of NULL dereference), and
> allocate and skb of exactly the needed size.
Patch tested, 2 minor modifications:
- Added an ending brace
- Line size correction
It has been tested in a SDP OMAP4 ES1.0
- Filesystem over nfs
- Multiple file creation
- Throughput measurement
I'll send it as a new patch
[PATCH] KS8851: Correct RX packet allocation
Best Regards
Abraham
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists