]> err.no Git - linux-2.6/commit
[IPSEC]: Fix inetpeer leak in ipv4 xfrm dst entries.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Dec 2006 07:45:15 +0000 (23:45 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Dec 2006 07:45:15 +0000 (23:45 -0800)
commit26db167702756d0022f8ea5f1f30cad3018cfe31
tree26af4b280538a66772b0496f2b0d50fbe6a7cfb3
parentc9204d9ca79baac564b49d36d0228a69d7ded084
[IPSEC]: Fix inetpeer leak in ipv4 xfrm dst entries.

We grab a reference to the route's inetpeer entry but
forget to release it in xfrm4_dst_destroy().

Bug discovered by Kazunori MIYAZAWA <kazunori@miyazawa.org>

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_policy.c