]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: batch tcp_net_metrics_exit
authorEric Dumazet <edumazet@google.com>
Tue, 19 Sep 2017 23:27:07 +0000 (16:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 23:32:23 +0000 (16:32 -0700)
commitd51329682de81d962ab9a9066cbff41bf2fe2e19
treec5eb8d06088fb31d2553c2bca8839f551b4d1832
parentb1a3d83114035f38739a980aa50f17982d0cb928
tcp: batch tcp_net_metrics_exit

When dealing with a list of dismantling netns, we can scan
tcp_metrics once, saving cpu cycles.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_metrics.c