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)
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>

No differences found