Thread (47 messages) 47 messages, 6 authors, 2010-01-18

Re: [PATCH v2] net: Introduce realloc_netdev_mq()

From: Jarek Poplawski <hidden>
Date: 2009-12-03 16:55:09

On Thu, Dec 03, 2009 at 05:36:40PM +0100, Jarek Poplawski wrote:
On Thu, Dec 03, 2009 at 04:17:43PM +0100, Eric Dumazet wrote:
quoted
if (realloc_netdev_mq(dev, real_queues))
	dev->real_num_tx_queues = real_queues;

In this case the memory error is not fatal.
Good point! We can consider doing this inside the function too?
Hmm... Of course, not exactly this - I mean using min().

Jarek P.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help