Subject: CVS commit: src/sys/netkey
To: None <>
From: YAMAMOTO Takashi <>
List: source-changes
Date: 05/10/2004 09:30:23
Module Name:	src
Committed By:	yamt
Date:		Mon May 10 09:30:23 UTC 2004

Modified Files:
	src/sys/netkey: key.c

Log Message:
key_sp_unlink: decrement refcnt of the policy only if it was chained.
otherwise SADB_X_SPDDELETE2 and SADB_X_SPDFLUSH can free per-pcb policies
erroneously.  it's the identical with what kame repository has.

ok'ed by itojun@

To generate a diff of this commit:
cvs rdiff -r1.118 -r1.119 src/sys/netkey/key.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.