[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1400792601.5367.176.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 22 May 2014 14:03:21 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jim Baxter <jim_baxter@...tor.com>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>, kamal@...onical.com,
Ben Hutchings <bhutchings@...arflare.com>, edumazet@...gle.com,
mszeredi@...e.cz, fw@...len.de
Subject: Re: skbuff truesize incorrect.
On Thu, 2014-05-22 at 13:58 -0700, Eric Dumazet wrote:
> I would set rx_max (rx_urb_size) to SKB_MAX_HEAD(0) so that you do not
> use high order allocations.
Correction, that would need SKB_MAX_HEAD(NET_SKB_PAD + NET_IP_ALIGN),
because drivers/net/usb/usbnet.c calls __netdev_alloc_skb_ip_align().
--
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