Discussion:
sofree patches
(too old to reply)
Stephen Degler
2008-07-14 21:37:31 UTC
Permalink
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).

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Stephen Degler
2008-07-14 22:09:41 UTC
Permalink
Sorry, here is the patch.

skd
Post by Stephen Degler
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).
Stephen Degler
2008-07-15 14:22:15 UTC
Permalink
While I'd argue that these patches are correct (and should be applied)
its not fixing at least one of my crashes.

skd
Post by Stephen Degler
Sorry, here is the patch.
skd
Post by Stephen Degler
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).
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...