Page MenuHomeFreeBSD

D14990.id41187.diff
No OneTemporary

D14990.id41187.diff

Index: sys/netinet/in_pcb.c
===================================================================
--- sys/netinet/in_pcb.c
+++ sys/netinet/in_pcb.c
@@ -1288,6 +1288,13 @@
KASSERT(inp->inp_socket == NULL, ("%s: inp_socket != NULL", __func__));
+ KASSERT((inp->inp_flags2 & INP_FREED) == 0,
+ ("%s: called twice for pcb %p", __func__, inp));
+ if (inp->inp_flags2 & INP_FREED) {
+ INP_WUNLOCK(inp);
+ return;
+ }
+
#ifdef INVARIANTS
if (pcbinfo == &V_tcbinfo) {
INP_INFO_LOCK_ASSERT(pcbinfo);

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 11, 12:50 PM (17 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31252604
Default Alt Text
D14990.id41187.diff (507 B)

Event Timeline