Kornel Duleba a16771de4c ipsec: Return error code if no matching SA was found
If we matched SP to a packet, but no associated SA was found
ipsec4_allocsa will return NULL while setting error=0.
This resulted in use after free and potential kernel panic.
Return EINPROGRESS if the case described above instead.

Obtained from:		Semihalf
Sponsored by:		Stormshield
Differential revision:	https://reviews.freebsd.org/D30994
2021-08-13 09:35:08 +02:00
..
2021-08-12 11:47:31 +03:00
2021-08-11 16:33:41 -04:00
2021-07-28 09:35:09 -07:00
2021-08-10 21:27:54 -04:00