Skip to content
Commit a4daad6b authored by David S. Miller's avatar David S. Miller
Browse files

net: Pre-COW metrics for TCP.



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: default avatarDavid S. Miller <davem@davemloft.net>
parent 8571a19c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment