lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 14 Mar 2014 11:26:25 +0100 From: Steffen Klassert <steffen.klassert@...unet.com> To: Fan Du <fan.du@...driver.com> CC: <davem@...emloft.net>, <netdev@...r.kernel.org> Subject: Re: [PATCH net-next] flowcache: Tune per cpu flow cache shrink size On Fri, Mar 14, 2014 at 03:42:46PM +0800, Fan Du wrote: > When per cpu flow cache entries count reaches over high_watermark, > flow cache will be shrinked gently to around low_watermark, not > brutally killing most of cached entries by left only two. > We currently keep two entries per hash bucket, this means that we keep low_watermark entries at most in the flow cache. With your change, we would keep low_watermark entries per hash bucket. The flow cache would grow to low_watermark * flow_cache_hash_size then. This would make DoS attacks against the flow cache quite easy. -- 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