OpenBSD cvs log

created 2021-12-07T13:45:09Z
begin 2021-11-29T01:04:45Z
end 2021-11-29T15:39:59Z
path src/sys
commits 1

date 2021-11-29T15:39:59Z
author bluhm
files src/sys/net/pfkeyv2.c log diff annotate
src/sys/netinet/ip_ipsp.c log diff annotate
message Using a void pointer for temporary allocated TDB in pfkeyv2 does
not make sense. Do not use the freeme pointer for TDB in pfkeyv2_send().
The pattern is tdb_alloc() and tdb_unref() in case of error. Replace
tdb_free() in reserve_spi() with tdb_unref() to keep this consistent.
Only tdb_unref() should call tdb_free().
OK mvs@