]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b4f30fa8be17ad9585cae110135596323aad074
tree2149f4652fb0fc997ce5728f9574e1ab5351f0e5
parent8164617b2d03dc46ba8a530469e3725ab886c82d
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