Patrick McHardy wrote:
Ben Greear wrote:

Patrick McHardy wrote:

dst_prev is newly allocated in the loop a couple of lines above.



Ok, that makes sense now.

I also did not find a single neigh_put in the entire xfrm4_policy.c file.

Should include/net/xfrm.h's method:  xfrm_dst_destroy release the
neighbour?


Not necessary, xfrm_dst_destroy is called from dst_destroy, which
takes care of releasing the neighbour entry.

Ok, sorry for the confusion.

Thanks,
Ben

--
Ben Greear <[EMAIL PROTECTED]>
Candela Technologies Inc  http://www.candelatech.com

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to