Message ID | 1309963273-7247-3-git-send-email-paolo.pisati@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 4305154..4174f20 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -1826,7 +1826,7 @@ static int do_tcp_setsockopt(struct sock *sk, int level, /* Values greater than interface MTU won't take effect. However * at the point when this call is done we typically don't yet * know which interface is going to be used */ - if (val < 8 || val > MAX_TCP_WINDOW) { + if (val < 64 || val > MAX_TCP_WINDOW) { err = -EINVAL; break; }