Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171162
b: refs/heads/master
c: 05eaade
h: refs/heads/master
v: v3
  • Loading branch information
Gilad Ben-Yossef authored and David S. Miller committed Nov 5, 2009
1 parent 8b12979 commit 6a5fa1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8d044fe6aacaf573112331847155211a56a12736
refs/heads/master: 05eaade2782fb0c90d3034fd7a7d5a16266182bb
9 changes: 3 additions & 6 deletions trunk/net/ipv4/tcp_minisocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,10 @@ struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb,
int paws_reject = 0;
struct tcp_options_received tmp_opt;
struct sock *child;
struct dst_entry *dst = inet_csk_route_req(sk, req);

tmp_opt.saw_tstamp = 0;
if (th->doff > (sizeof(struct tcphdr)>>2)) {
tcp_parse_options(skb, &tmp_opt, 0, dst);
if ((th->doff > (sizeof(struct tcphdr)>>2)) && (req->ts_recent)) {
tmp_opt.tstamp_ok = 1;
tcp_parse_options(skb, &tmp_opt, 1, NULL);

if (tmp_opt.saw_tstamp) {
tmp_opt.ts_recent = req->ts_recent;
Expand All @@ -517,8 +516,6 @@ struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb,
}
}

dst_release(dst);

/* Check for pure retransmitted SYN. */
if (TCP_SKB_CB(skb)->seq == tcp_rsk(req)->rcv_isn &&
flg == TCP_FLAG_SYN &&
Expand Down

0 comments on commit 6a5fa1f

Please sign in to comment.