net: Pre-COW metrics for TCP.
authorDavid S. Miller <davem@davemloft.net>
Fri, 28 Jan 2011 06:01:53 +0000 (22:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jan 2011 06:01:53 +0000 (22:01 -0800)
TCP is going to record metrics for the connection,
so pre-COW the route metrics at route cache entry
creation time.

This avoids several atomic operations that have to
occur if we COW the metrics after the entry reaches
global visibility.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found