]> 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)
commit48ccf4743e0f1e77688b4428777099c09578c035
tree3aae42095d4eb64040596a7367bb1253118ce15f
parent3ac2ec6a55a7e0771622e76c8a5fab492395d93e
parenta4d3ea0b52ff8c27284b3d7508e4f259ce5f6896
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
b354f821f444 ("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>