FreeBSD Bugzilla – Attachment 201968 Details for
Bug 235684
kernel panic (ipsec_delete_pcbpolicy without VNET context) caused by security/ipsec-tools (racoon)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
in_pcb.diff (text/plain), 577 bytes, created by
Andrey V. Elsukov
on 2019-02-12 22:21:22 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Andrey V. Elsukov
Created:
2019-02-12 22:21:22 UTC
Size:
577 bytes
patch
obsolete
>Index: sys/netinet/in_pcb.c >=================================================================== >--- sys/netinet/in_pcb.c (revision 344017) >+++ sys/netinet/in_pcb.c (working copy) >@@ -1565,6 +1565,7 @@ in_pcbfree_deferred(epoch_context_t ctx) > inp = __containerof(ctx, struct inpcb, inp_epoch_ctx); > > INP_WLOCK(inp); >+ CURVNET_SET(inp->inp_vnet); > #ifdef INET > struct ip_moptions *imo = inp->inp_moptions; > inp->inp_moptions = NULL; >@@ -1597,6 +1598,7 @@ in_pcbfree_deferred(epoch_context_t ctx) > #ifdef INET > inp_freemoptions(imo); > #endif >+ CURVNET_RESTORE(); > } > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235684
: 201968