ipv6: introduce ip6_rt_put()
authorAmerigo Wang <amwang@redhat.com>
Mon, 29 Oct 2012 00:13:19 +0000 (00:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 18:59:05 +0000 (14:59 -0400)
commit94e187c01512c9cf29e2ff54bf1a1b045f38293d
tree2149f4652fb0fc997ce5728f9574e1ab5351f0e5
parent6da025fa23bb10c82f80de319c837ed2b02306e4
ipv6: introduce ip6_rt_put()

As suggested by Eric, we could introduce a helper function
for ipv6 too, to avoid checking if rt is NULL before
dst_release().

Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h
net/ipv6/addrconf.c
net/ipv6/anycast.c
net/ipv6/fib6_rules.c
net/ipv6/ip6_gre.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c
net/ipv6/mcast.c
net/ipv6/ndisc.c
net/ipv6/netfilter/ip6t_rpfilter.c
net/ipv6/route.c