summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAntony Antony <antony.antony@secunet.com>2026-05-26 22:07:43 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2026-06-04 13:22:40 +0300
commitb2cb192b95e591b7c14af94aa0763b99149a3742 (patch)
tree0754b6ac4ef616afcedcf5335d2c7248c36fb17f /include
parent8de53883a4bf807a628f0d150a7ca7ddf56a5cc3 (diff)
downloadlinux-b2cb192b95e591b7c14af94aa0763b99149a3742.tar.xz
xfrm: check family before comparing addresses in migrate
When migrating between different address families, xfrm_addr_equal() cannot meaningfully compare addresses, different lengths. Only call xfrm_addr_equal() when families match, and take the xfrm_state_insert() path when addresses are equal. Fixes: 80c9abaabf42 ("[XFRM]: Extension for dynamic update of endpoint address(es)") Signed-off-by: Antony Antony <antony.antony@secunet.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions