Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167655169
D21853.id62764.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
629 B
Referenced Files
None
Subscribers
None
D21853.id62764.diff
View Options
Index: sys/netinet/tcp_hostcache.c
===================================================================
--- sys/netinet/tcp_hostcache.c
+++ sys/netinet/tcp_hostcache.c
@@ -313,9 +313,10 @@
*/
TAILQ_FOREACH(hc_entry, &hc_head->hch_bucket, rmx_q) {
if (inc->inc_flags & INC_ISIPV6) {
- /* XXX: check ip6_zoneid */
if (memcmp(&inc->inc6_faddr, &hc_entry->ip6,
- sizeof(inc->inc6_faddr)) == 0)
+ sizeof(inc->inc6_faddr)) == 0 &&
+ memcmp(&inc->inc6_zoneid, &hc_entry->ip6_zoneid,
+ sizeof(inc->inc6_zoneid)) == 0)
return hc_entry;
} else {
if (memcmp(&inc->inc_faddr, &hc_entry->ip4,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 24, 1:49 PM (10 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37185809
Default Alt Text
D21853.id62764.diff (629 B)
Attached To
Mode
D21853: Check for ipv6_zoneid in tcp_hc_lookup() alongside inc6_faddr
Attached
Detach File
Event Timeline
Log In to Comment