diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-09-19 21:25:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-04 22:00:07 +0200 |
commit | 6825a26c2dc21eb4f8df9c06d3786ddec97cf53b (patch) | |
tree | 8fae2530f09c68511c32d1096cca658585b3655d /arch/powerpc/kernel/fadump.c | |
parent | Remove noisy printks from llcp_sock_connect (diff) | |
download | linux-6825a26c2dc21eb4f8df9c06d3786ddec97cf53b.tar.xz linux-6825a26c2dc21eb4f8df9c06d3786ddec97cf53b.zip |
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 <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc/kernel/fadump.c')
0 files changed, 0 insertions, 0 deletions