aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2012-01-31 10:56:48 +0000
committerDavid S. Miller <[email protected]>2012-01-31 16:11:48 -0500
commit5f3d9cb2962967d9d7e03abb4a7ca275a9a3fea5 (patch)
tree7847eb10ad6a754ed2798bce28ea3d142484a164 /fs/jbd/commit.c
parenta915da9b69273815527ccb3789421cb7027b545b (diff)
tcp: md5: use sock_kmalloc() to limit md5 keys
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions