diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-08 16:15:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-08 16:47:38 -0500 |
commit | fe6c791570efe717946ea7b7dd50aec96b70d551 (patch) | |
tree | 1becb5e8aea7a9c9a7d78f987bd73b0a5d8ee434 /net/ipv4/tcp.c | |
parent | f8bf5681cf15f77692c8ad8cb95d059ff7c622c9 (diff) | |
parent | f19872575ff7819a3723154657a497d9bca66b33 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
net/llc/af_llc.c
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 2bb46d55f40..6c11eece262 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -2244,7 +2244,7 @@ static int do_tcp_setsockopt(struct sock *sk, int level, | |||
2244 | /* Values greater than interface MTU won't take effect. However | 2244 | /* Values greater than interface MTU won't take effect. However |
2245 | * at the point when this call is done we typically don't yet | 2245 | * at the point when this call is done we typically don't yet |
2246 | * know which interface is going to be used */ | 2246 | * know which interface is going to be used */ |
2247 | if (val < 64 || val > MAX_TCP_WINDOW) { | 2247 | if (val < TCP_MIN_MSS || val > MAX_TCP_WINDOW) { |
2248 | err = -EINVAL; | 2248 | err = -EINVAL; |
2249 | break; | 2249 | break; |
2250 | } | 2250 | } |