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 /net/ipv6 | |
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 'net/ipv6')
-rw-r--r-- | net/ipv6/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 0c0684753781..b7eb51e1a0e1 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -1093,7 +1093,7 @@ void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, memset(&fl6, 0, sizeof(fl6)); fl6.flowi6_oif = oif; fl6.flowi6_mark = mark; - fl6.flowi6_flags = FLOWI_FLAG_PRECOW_METRICS; + fl6.flowi6_flags = 0; fl6.daddr = iph->daddr; fl6.saddr = iph->saddr; fl6.flowlabel = (*(__be32 *) iph) & IPV6_FLOWINFO_MASK; |