diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-09-17 13:14:49 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-09-17 13:17:49 +0000 |
| commit | 01a95394abfdef2adb3216e74d88b9c33321260e (patch) | |
| tree | 60c63669dad02fbb01dcacd460496173db137a66 /test/CodeGenCXX/(developers-only) | |
| parent | 43347e8c55f808f1e9faca2f118d4eab4bcd0228 (diff) | |
When we receive an ICMP redirect, rib_add_redirect() is used to apply
the redirect to all FIBs. This has been the case since support for
multiple FIBs was added. However, it seems rather dubious: the new
gateway might not be routable from all FIBs, and the validation done for
v4 redirects in icmp_verify_redirect_gateway() is only applied to the
FIB from which the redirect originated.
Modify the handler to apply the redirect only in the originating FIB.
Reported by: Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li,
and Ke Xu from Tsinghua University using GLM-5.1 from Z.ai
Reviewed by: pouria, zlei, glebius, melifaro
MFC after: 3 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59567
Diffstat (limited to 'test/CodeGenCXX/(developers-only)')
0 files changed, 0 insertions, 0 deletions
