aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_mode_beet.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-03-26 02:27:09 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-26 02:27:09 -0700
commit7c0ecc4c4f8fd90988aab8a95297b9c0038b6160 (patch)
tree3c937731c0bf2c3ddfd94e2141d83af596f98d9e /net/ipv4/xfrm4_mode_beet.c
parent[AX25]: Remove obsolete references to BKL from TODO file. (diff)
downloadlinux-dev-7c0ecc4c4f8fd90988aab8a95297b9c0038b6160.tar.xz
linux-dev-7c0ecc4c4f8fd90988aab8a95297b9c0038b6160.zip
[ICMP]: Dst entry leak in icmp_send host re-lookup code (v2).
Commit 8b7817f3a959ed99d7443afc12f78a7e1fcc2063 ([IPSEC]: Add ICMP host relookup support) introduced some dst leaks on error paths: the rt pointer can be forgotten to be put. Fix it bu going to a proper label. Found after net namespace's lo refused to unregister :) Many thanks to Den for valuable help during debugging. Herbert pointed out, that xfrm_lookup() will put the rtable in case of error itself, so the first goto fix is redundant. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_mode_beet.c')
0 files changed, 0 insertions, 0 deletions