[Openswan dev] [PATCH] ipsec_sa_recycle() problem

Martin Schiller mschiller at tdt.de
Wed Jul 29 04:27:24 EDT 2009


There are some problems in the ipsec_sa_recycle() function when the refFreeListCont swaps from one 
subtable to the next or when the end of the whole refTable is reached. refFreeListHead should also 
only be set to IPSEC_SAREF_FIRST, when a free "slot" can be found, because otherwise it points to an 
illegal entry. For more details, see the attached patch.

Martin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipsec_sa_recycle.patch
Type: application/octet-stream
Size: 2149 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/dev/attachments/20090729/e11a5288/attachment.obj 


More information about the Dev mailing list