From: Tobias Brunner Date: Mon, 13 Nov 2023 11:02:25 +0000 (+0100) Subject: Merge branch 'reqid-refcount' X-Git-Tag: 5.9.12rc1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed2d548fee7f786f0dcf79191bba008ec09f2e7f;p=thirdparty%2Fstrongswan.git Merge branch 'reqid-refcount' This fixes issues with CHILD_SAs getting reestablished concurrently. We intend to reuse the reqid of the previous CHILD_SA, however, previously the reqids were released and up for reassignment to any other CHILD_SA or trap policy. This could cause the reqid to get associated with completely different traffic selectors, as the reestablished CHILD_SA would eventually get the requested reqid because the traffic selectors explicitly don't have to match (to allow narrowing for CHILD_SAs based on trap policies). Closes strongswan/strongswan#1855 --- ed2d548fee7f786f0dcf79191bba008ec09f2e7f