Allow to turn off TCP window scale opt per route
authorGilad Ben-Yossef <gilad@codefidence.com>
Wed, 28 Oct 2009 04:15:26 +0000 (04:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Oct 2009 08:28:47 +0000 (01:28 -0700)
commit345cda2fd695534be5a4494f1b59da9daed33663
tree6e4b83512481d25b8e7976a1556c5d848e84a621
parentcda42ebd67ee5fdf09d7057b5a4584d36fe8a335
Allow to turn off TCP window scale opt per route

Add and use no window scale bit in the features field.

Note that this is not the same as setting a window scale of 0
as would happen with window limit on route.

Signed-off-by: Gilad Ben-Yossef <gilad@codefidence.com>
Sigend-off-by: Ori Finkelman <ori@comsleep.com>
Sigend-off-by: Yony Amit <yony@comsleep.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rtnetlink.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c