diff options
author | Maciej Żenczykowski <[email protected]> | 2024-07-29 17:17:48 -0700 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-08-01 11:40:29 +0200 |
commit | a46c68debf3be3a477a69ccbf0a1d050df841676 (patch) | |
tree | fed89c57135e389343d10e0c6e28c62fcb944b3c /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | b9e7fc0aeda79031a101610b2fcb12bf031056e9 (diff) |
ipv6: fix ndisc_is_useropt() handling for PIO
The current logic only works if the PIO is between two
other ND user options. This fixes it so that the PIO
can also be either before or after other ND user options
(for example the first or last option in the RA).
side note: there's actually Android tests verifying
a portion of the old broken behaviour, so:
https://android-review.googlesource.com/c/kernel/tests/+/3196704
fixes those up.
Cc: Jen Linkova <[email protected]>
Cc: Lorenzo Colitti <[email protected]>
Cc: Patrick Rohr <[email protected]>
Cc: David Ahern <[email protected]>
Cc: YOSHIFUJI Hideaki / 吉藤英明 <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Signed-off-by: Maciej Żenczykowski <[email protected]>
Fixes: 048c796beb6e ("ipv6: adjust ndisc_is_useropt() to also return true for PIO")
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions