[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <4DA4756B-0654-49F4-B135-9A9F89BC7D21@gmail.com>
Date: Fri, 23 Dec 2011 00:56:50 -0500
From: Xi Wang <xi.wang@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Tom Herbert <therbert@...gle.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH v2] rps: fix insufficient bounds checking in store_rps_dev_flow_table_cnt()
On Dec 23, 2011, at 12:35 AM, Eric Dumazet wrote:
> By the way, the theorical limit on number of flows on 64bit platform is
> 2^32 (rxhash being an u32)
>
> Not sure spending 32GB per table would be wise for typical machines :)
True, a large rps_flow_cnt is not that useful. ;-)
Anyway, my point is that if the patch looks confusing to you, then
it is probably not good. I am happy to see a more elegant fix.
- xi
--
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