Page MenuHomeFreeBSD

Check for ipv6_zoneid in tcp_hc_lookup() alongside inc6_faddr
AbandonedPublic

Authored by nc on Sep 30 2019, 5:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 24, 3:22 AM
Unknown Object (File)
Sun, Jun 23, 7:41 PM
Unknown Object (File)
May 19 2024, 4:23 PM
Unknown Object (File)
May 19 2024, 3:52 PM
Unknown Object (File)
May 16 2024, 1:01 AM
Unknown Object (File)
May 16 2024, 12:13 AM
Unknown Object (File)
Mar 17 2024, 7:24 PM
Unknown Object (File)
Feb 20 2024, 8:11 PM

Details

Reviewers
bz
tuexen
Summary

When looking through bucket entries in the hostcache, we only looked at inc6_faddr. This patch adds support for looking at ipv6_zoneid as well.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Old patch freezes on IPv6 startup, so I fixed the issue with this update.

I'm new to the kernel, sorry.

I'm agree with the change, but I have doubts that we have fixed all places in the kernel, where zone id is checked and properly initialized. Usually we keep zone id embedded in the address. Do you have some tests to check this code?