OpenBSD cvs log

created 2025-03-06T09:13:23Z
begin 2025-03-04T11:52:44Z
end 2025-03-04T15:11:30Z
path src/sys
commits 1

date 2025-03-04T15:11:30Z
author bluhm
files src/sys/net/if_sec.c log diff annotate
src/sys/net/if_sec.h log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
message Pass struct netstack to sec_input().

Kernel crashed in route6_cache() due to bogous netstack.
ipsec_common_input_cb() was called with netstack pointer NULL, but
in ipv6_input() the pointer was 1. In between lies sec_input()
that was called without netstack pointer, but passed an arbitrary
value to if_vinput(). There was a parameter missing in its prototype.
The buggy code did compile due to a missing include file.

crash reported by Mikolaj Kucharski; OK claudio@