fa.netbsd.tech.net
[Top] [All Lists]

Re: sofree patches

Subject: Re: sofree patches
From: Stephen Degler <stephen@xxxxxxxxxx>
Date: Tue, 15 Jul 2008 14:22:46 UTC
Newsgroups: fa.netbsd.tech.net


While I'd argue that these patches are correct (and should be applied) its not fixing at least one of my crashes.

skd

Stephen Degler wrote:
Sorry,  here is the patch.

skd

Stephen Degler wrote:
This should fix two issues I'm seeing.

1) Crashes with netkey sockets during ipsec processing ipsec_getpolicybysock (null inpcb assertion in getpolicybysock)
2) Crashes with so_lock assertions in sbappendaddr during key exchanges.

sofree should not be called because its essentially a double free (pool put).




<Prev in Thread] Current Thread [Next in Thread>