diff options
author | Eric Dumazet <edumazet@google.com> | 2012-06-20 01:02:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-23 00:47:33 -0400 |
commit | 7586eceb0abc0ea1c2b023e3e5d4dfd4ff40930a (patch) | |
tree | 79fc35a3afa23896ab3e6e00b4d9d1178bfee1df /net/dccp/ipv4.c | |
parent | 24ea818e305b92ad1fadcca015ae3b0c1222c497 (diff) |
ipv4: tcp: dont cache output dst for syncookies
Don't cache output dst for syncookies, as this adds pressure on IP route
cache and rcu subsystem for no gain.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 07f5579ca756..3eb76b5f221a 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -504,7 +504,7 @@ static int dccp_v4_send_response(struct sock *sk, struct request_sock *req, | |||
504 | struct dst_entry *dst; | 504 | struct dst_entry *dst; |
505 | struct flowi4 fl4; | 505 | struct flowi4 fl4; |
506 | 506 | ||
507 | dst = inet_csk_route_req(sk, &fl4, req); | 507 | dst = inet_csk_route_req(sk, &fl4, req, false); |
508 | if (dst == NULL) | 508 | if (dst == NULL) |
509 | goto out; | 509 | goto out; |
510 | 510 | ||