From: Gao feng Date: Wed, 19 Sep 2012 19:25:34 +0000 (+0000) Subject: ipv6: release reference of ip6_null_entry's dst entry in __ip6_del_rt X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6825a26c2dc21eb4f8df9c06d3786ddec97cf53b;p=pandora-kernel.git ipv6: release reference of ip6_null_entry's dst entry in __ip6_del_rt as we hold dst_entry before we call __ip6_del_rt, so we should alse call dst_release not only return -ENOENT when the rt6_info is ip6_null_entry. and we already hold the dst entry, so I think it's safe to call dst_release out of the write-read lock. Signed-off-by: Gao feng Signed-off-by: David S. Miller --- Reading git-diff-tree failed