aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-09-17 13:14:49 +0000
committerMark Johnston <markj@FreeBSD.org>2026-09-17 13:17:49 +0000
commit01a95394abfdef2adb3216e74d88b9c33321260e (patch)
tree60c63669dad02fbb01dcacd460496173db137a66 /sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.h
parent43347e8c55f808f1e9faca2f118d4eab4bcd0228 (diff)
icmp: Limit routing table updates to the FIB of the redirectHEADmain
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 'sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.h')
0 files changed, 0 insertions, 0 deletions