[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120131.161325.774867464311960347.davem@davemloft.net>
Date: Tue, 31 Jan 2012 16:13:25 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: shawn.lu@...csson.com, netdev@...r.kernel.org, xiaoclu@...il.com
Subject: Re: [PATCH net-next] tcp: md5: use sock_kmalloc() to limit md5 keys
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 31 Jan 2012 21:56:48 +0100
> There is no limit on number of MD5 keys an application can attach to a
> tcp socket.
>
> This patch adds a per tcp socket limit based
> on /proc/sys/net/core/optmem_max
>
> With current default optmem_max values, this allows about 150 keys on
> 64bit arches, and 88 keys on 32bit arches.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks a lot Eric.
--
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