]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-metrics-consolidate'
authorDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 04:54:45 +0000 (21:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 04:54:45 +0000 (21:54 -0700)
commit12ce822af8a3bd5816077bf186a9511faa994298
tree3aae42095d4eb64040596a7367bb1253118ce15f
parent939d920a7aaaf833ac8878e98d9862fbed4e9d14
parent16102957155f4a9fb27df2725ee4cde34b264d60
Merge branch 'net-metrics-consolidate'

David Ahern says:

====================
net: Consolidate metrics handling for ipv4 and ipv6

As part of the IPv6 fib info refactoring, the intent was to make metrics
handling for ipv6 identical to ipv4. One oversight in ip6_dst_destroy
led to confusion and a couple of incomplete attempts at finding and
fixing the resulting memory leak which was ultimately resolved by
f7bca8368265 ("ipv6: fix memory leak on dst->_metrics").

Refactor metrics hanlding make the code really identical for v4 and v6,
and add a few test cases.
====================

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