diff options
author | Gilad Ben-Yossef <gilad@codefidence.com> | 2009-11-05 08:21:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-05 08:24:14 +0100 |
commit | 05eaade2782fb0c90d3034fd7a7d5a16266182bb (patch) | |
tree | 57a7229c25b49ded65319e23ffb300dfb9339cf2 /net/llc/llc_s_ac.c | |
parent | TI DaVinci EMAC: Add suspend/resume capability (diff) | |
download | linux-05eaade2782fb0c90d3034fd7a7d5a16266182bb.tar.xz linux-05eaade2782fb0c90d3034fd7a7d5a16266182bb.zip |
tcp: Do not call IPv4 specific func in tcp_check_req
Calling IPv4 specific inet_csk_route_req in tcp_check_req
is a bad idea and crashes machine on IPv6 connections, as reported
by Valdis Kletnieks
Also, all we are really interested in is the timestamp
option in the header, so calling tcp_parse_options()
with the "estab" set to false flag is an overkill as
it tries to parse half a dozen other TCP options.
We know whether timestamp should be enabled or not
using data from request_sock.
Signed-off-by: Gilad Ben-Yossef <gilad@codefidence.com>
Tested-by: Valdis.Kletnieks@vt.edu
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/llc_s_ac.c')
0 files changed, 0 insertions, 0 deletions