Skip to content
Snippets Groups Projects
user avatar
David S. Miller authored
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>
a4daad6b
History
Name Last commit Last update