]> git.baikalelectronics.ru Git - kernel.git/commit
net: Move free of dst_metrics to helper
authorDavid Ahern <dsahern@gmail.com>
Fri, 5 Oct 2018 03:07:54 +0000 (20:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 04:54:25 +0000 (21:54 -0700)
commitaf6033d9001b41c4d38522750e20c2ceaa6d073f
tree31389ac748a71fdac40f2ab6f4122267df29845b
parent2899905366b05ff0faa530e3237c1a456477ec13
net: Move free of dst_metrics to helper

Move the refcounting and potential free of dst metrics associated
for ipv4 and ipv6 to a common helper.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/route.c
net/ipv6/route.c