From: Nicolas Dichtel Date: Wed, 3 Sep 2014 21:59:21 +0000 (+0200) Subject: ipv6: fix a refcnt leak with peer addr X-Git-Tag: fixes-for-v3.18-merge-window~162^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f24062b07dda89b0e24fa48e7bc3865a725f5ee6;p=pandora-kernel.git 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 Acked-by: Hannes Frederic Sowa Signed-off-by: David S. Miller --- Reading git-diff-tree failed