On Mon, 9 Jun 2003 01:47:52 +1000 (EST)
James Morris [off-list ref] wrote:
On Fri, 6 Jun 2003, Kazunori Miyazawa wrote:
quoted
In output functions, dst is changed by xfrm_lookup if there is
any matching policy. Therefore original dst which is held before
calling xfrm_lookup will be never released.
When xfrm_lookup scceeds and dst is changed, original dst should
be release.
It is released in xfrm_lookup():
*dst_p = dst;
ip_rt_put(rt);
xfrm_pol_put(policy);
return 0;
I overlooked it. Thank you.
--Kazunori Miyazawa (Yokogawa Electric Corporation)