Skip to content
Commit c43b874d authored by Jason Wang's avatar Jason Wang Committed by David S. Miller
Browse files

tcp: properly initialize tcp memory limits



Commit 4acb4190 tries to fix the using uninitialized value
introduced by commit 3dc43e3e,  but it would make the
per-socket memory limits too small.

This patch fixes this and also remove the redundant codes
introduced in 4acb4190.

Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
Acked-by: default avatarGlauber Costa <glommer@parallels.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 786f5281
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment