FreeBSD Bugzilla – Attachment 207962 Details for
Bug 240946
[tcp] Check for ipv6_zoneid in tcp_hc_lookup() alongside inc6_faddr
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch (Revision 1)
ipv6_zoneid.patch (text/plain), 662 bytes, created by
Neel Chauhan
on 2019-09-30 18:00:20 UTC
(
hide
)
Description:
Patch (Revision 1)
Filename:
MIME Type:
Creator:
Neel Chauhan
Created:
2019-09-30 18:00:20 UTC
Size:
662 bytes
patch
obsolete
>Index: sys/netinet/tcp_hostcache.c >=================================================================== >--- sys/netinet/tcp_hostcache.c (revision 352911) >+++ sys/netinet/tcp_hostcache.c (working copy) >@@ -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,
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 240946
: 207962