[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101025201707.GA15431@electric-eye.fr.zoreil.com>
Date: Mon, 25 Oct 2010 22:17:07 +0200
From: Francois Romieu <romieu@...zoreil.com>
To: nhorman@...driver.com
Cc: netdev@...r.kernel.org, davem@...emloft.net,
eric.dumazet@...il.com, jpirko@...hat.com
Subject: Re: [PATCH] Enhance AF_PACKET implementation to not require high
order contiguous memory allocation
nhorman@...driver.com <nhorman@...driver.com> :
[...]
> + if (order > 0) {
> + for (j = 0; j < pg_vec[i]->num_pages; j++)
> + pages[j] = virt_to_page(pg_vec[i]->pages[j]);
> +
> + if (unlikely(!pg_vec[i]))
> + goto out_free_pgvec;
Check pg_vec[i] sooner ?
--
Ueimor
--
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