datapath: Avoid using link-local IPv6 address for direct routing.#37839
datapath: Avoid using link-local IPv6 address for direct routing.#37839ti-mo merged 1 commit intocilium:mainfrom
Conversation
|
/test |
|
Hey @ti-mo, was this what you had in mind for testing? or were you thinking an e2e test? |
|
/test |
|
@sypakine Thanks and sorry, maybe I should've been more clear: this will create even more work for whomever lifts this logic out of WriteNodeConfig, since that will break the test you just added. I would've probably written a small helper encapsulating the |
This fixes an issue where link-local IPv6 address ends up being used for direct routing. Using link-local address results in packets being dropped during FIB lookup with Nodeport services. When no global IPv6 address is encountered, fallback to a link-local address. Fixes: cilium#36752 Signed-off-by: Mark St John <markstjohn@google.com>
|
Thanks for the clarification -- done. |
|
/test |
|
@sypakine 👋 given this fix is labeled as |
The severity and probability appear low enough that a backport to 1.16 is not necessary. |
Fixes: #36752
This fixes an issue where link-local IPv6 address ends up being used for direct routing. Using link-local address results in packets being dropped during FIB lookup with Nodeport services.
When no global IPv6 address is encountered, fallback to a link-local address.