NetBSD-Bugs archive
[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>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/44410 (policy reference count not decremented correctly on
socket close)
Date: Mon, 14 Feb 2011 14:14:25 +0100
Hi,
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
now.)
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.
Best regards
W. Stukenbrock
drochner%NetBSD.org@localhost wrote:
> 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
> State-Changed-Why:
> does the fix in ipsec.c rev.1.49 work for you?
>
>
>
>
--
Dr. Nagler & Company GmbH
Hauptstraße 9
92253 Schnaittenbach
Tel. +49 9622/71 97-42
Fax +49 9622/71 97-50
Wolfgang.Stukenbrock%nagler-company.com@localhost
http://www.nagler-company.com
Hauptsitz: Schnaittenbach
Handelregister: Amberg HRB
Gerichtsstand: Amberg
Steuernummer: 201/118/51825
USt.-ID-Nummer: DE 273143997
Geschäftsführer: Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze
Home |
Main Index |
Thread Index |
Old Index