From: Romain KUNTZ Date: Mon, 18 Feb 2013 02:36:24 +0000 (+0000) Subject: xfrm: release neighbor upon dst destruction X-Git-Tag: v3.9-rc1~139^2~29^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18cf0d0784b4a634472ed24d0d7ca1c721d93e90;p=pandora-kernel.git xfrm: release neighbor upon dst destruction Neighbor is cloned in xfrm6_fill_dst but seems to never be released. Neighbor entry should be released when XFRM6 dst entry is destroyed in xfrm6_dst_destroy, otherwise references may be kept forever on the device pointed by the neighbor entry. I may not have understood all the subtleties of XFRM & dst so I would be happy to receive comments on this patch. Signed-off-by: Romain Kuntz Signed-off-by: David S. Miller --- Reading git-diff-tree failed