Page MenuHomeFreeBSD

D46839.diff
No OneTemporary

D46839.diff

diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -1604,8 +1604,6 @@
("%s: bucket unexpectedly unlocked",
__func__));
SCH_UNLOCK(sch);
- if (ipopts)
- (void)m_free(ipopts);
goto done;
}
}
@@ -1775,6 +1773,8 @@
#ifdef MAC
mac_syncache_destroy(&maclabel);
#endif
+ if (ipopts)
+ (void)m_free(ipopts);
}
return (rv);
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 10:27 AM (21 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13269636
Default Alt Text
D46839.diff (460 B)

Event Timeline