[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/44410 (policy reference count not decremented correctly on socket close)
The following reply was made to PR kern/44410; it has been noted by GNATS.
From: Wolfgang Stukenbrock <Wolfgang.Stukenbrock%nagler-company.com@localhost>
Subject: Re: kern/44410 (policy reference count not decremented correctly on
Date: Mon, 14 Feb 2011 14:14:25 +0100
not tested in real world till now, but it does the same as my patch -
only the location is different.
The advantage of my version is, that I placed it at the location where
the data structure is destroyed.
Now it is placed at all locations where we are gooing to call the
destruction routine. (The third call of the destruction routine is
during creation on error and there cannot be anything in the cache up to
If for whatever reason another call to the destruction routine is added
in the future, we need to remember to flush the cache ...
I think it would be better to change this in the KAME implementation
too, so that the flush is done in the destruction routine.
Neverless I think this PR can be closed.
> Synopsis: policy reference count not decremented correctly on socket close
> State-Changed-From-To: open->feedback
> State-Changed-By: drochner%NetBSD.org@localhost
> State-Changed-When: Fri, 11 Feb 2011 17:55:41 +0000
> does the fix in ipsec.c rev.1.49 work for you?
Dr. Nagler & Company GmbH
Tel. +49 9622/71 97-42
Fax +49 9622/71 97-50
Handelregister: Amberg HRB
USt.-ID-Nummer: DE 273143997
Geschäftsführer: Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze
Main Index |
Thread Index |