Messages in this thread | | | Subject | Re: skbuff truesize incorrect. | From | Eric Dumazet <> | Date | Fri, 23 May 2014 07:00:22 -0700 |
| |
On Fri, 2014-05-23 at 11:33 +0200, Bjørn Mork wrote: > Jim Baxter <jim_baxter@mentor.com> writes: > > >> I'll create and test a patch for the cdc_ncm host driver unless someone > >> else wants to do that. I haven't really played with the gadget driver > >> before, so I'd prefer if someone knowing it (Jim maybe?) could take care > >> of it. If not, then I can always make an attempt using dummy_hcd to > >> test it. > > I can create a patch for the host driver, I will issue the gadget patch > > first to resolve any issues, the fix would be similar. > > Well, I couldn't help myself. I just had to test it. The attached > patch works for me, briefly tested with an Ericsson H5321gw NCM device. > I have no ideas about the performance impact as that modem is limited to > 21 Mbps HSDPA.
Ideally, the skb_in should not be freed/reallocated, but recycled, especially if using 32KB.
But thats a minor detail, this patch is already a huge win for a 21Mbps device.
Acked-by: Eric Dumazet <edumazet@google.com>
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |