diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-09-19 19:25:34 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-13 05:50:21 +0900 |
commit | 0f1bf6e2dc225d9bfce3be0be0b2f22956bcb313 (patch) | |
tree | db5d0b81543bc4d028723b0ff4774ed3420d7fb8 /fs/jbd2/commit.c | |
parent | 57d8849c5fa2aa2e0b91aa2f822c6a41b2d879d4 (diff) |
ipv6: release reference of ip6_null_entry's dst entry in __ip6_del_rt
[ Upstream commit 6825a26c2dc21eb4f8df9c06d3786ddec97cf53b ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions