diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2014-09-03 23:59:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-06 02:13:24 +0200 |
commit | f24062b07dda89b0e24fa48e7bc3865a725f5ee6 (patch) | |
tree | 99d8da425d3074968570d56cd4931910df876f21 /firmware | |
parent | net-timestamp: only report sw timestamp if reporting bit is set (diff) | |
download | linux-f24062b07dda89b0e24fa48e7bc3865a725f5ee6.tar.xz linux-f24062b07dda89b0e24fa48e7bc3865a725f5ee6.zip |
ipv6: fix a refcnt leak with peer addr
There is no reason to take a refcnt before deleting the peer address route.
It's done some lines below for the local prefix route because
inet6_ifa_finish_destroy() will release it at the end.
For the peer address route, we want to free it right now.
This bug has been introduced by commit
caeaba79009c ("ipv6: add support of peer address").
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions