tcp: Report mss_clamp with TCP_MAXSEG option in repair mode
authorPavel Emelyanov <xemul@parallels.com>
Thu, 19 Apr 2012 03:41:32 +0000 (03:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Apr 2012 19:52:25 +0000 (15:52 -0400)
commit5e6a3ce6573f0c519d1ff57df60e3877bb2d3151
treebce0733fb197e97c6697e63fb2f30dc2692ffdf3
parentc0e88ff0f256958401778ff692da4b8891acb5a9
tcp: Report mss_clamp with TCP_MAXSEG option in repair mode

The mss_clamp is the only connection-time negotiated option which
cannot be obtained from the user space. Make the TCP_MAXSEG sockopt
report one in the repair mode.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c