diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-10 13:01:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-11 07:40:12 +0200 |
commit | 3e12939a2a67fbb4cbd962c3b9bc398c73319766 (patch) | |
tree | cb3d49ded9da2def0c08e9f5085af870aeadc993 /include/net/inet_sock.h | |
parent | inet: Minimize use of cached route inetpeer. (diff) | |
download | linux-3e12939a2a67fbb4cbd962c3b9bc398c73319766.tar.xz linux-3e12939a2a67fbb4cbd962c3b9bc398c73319766.zip |
inet: Kill FLOWI_FLAG_PRECOW_METRICS.
No longer needed. TCP writes metrics, but now in it's own special
cache that does not dirty the route metrics. Therefore there is no
longer any reason to pre-cow metrics in this way.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_sock.h')
-rw-r--r-- | include/net/inet_sock.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h index ae17e1352d7e..924d7b98ab60 100644 --- a/include/net/inet_sock.h +++ b/include/net/inet_sock.h @@ -245,8 +245,6 @@ static inline __u8 inet_sk_flowi_flags(const struct sock *sk) if (inet_sk(sk)->transparent || inet_sk(sk)->hdrincl) flags |= FLOWI_FLAG_ANYSRC; - if (sk->sk_protocol == IPPROTO_TCP) - flags |= FLOWI_FLAG_PRECOW_METRICS; return flags; } |