diff options
author | Andrew Lunn <andrew@lunn.ch> | 2022-01-03 18:11:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-04 13:17:35 +0100 |
commit | 222a011efc839ca1f51bf89fe7a2b3705fa55ccd (patch) | |
tree | af54a38b1570fc9bbade6c094f7b12d4151c86cb /.cocciconfig | |
parent | icmp: ICMPV6: Examine invoking packet for Segment Route Headers. (diff) | |
download | linux-222a011efc839ca1f51bf89fe7a2b3705fa55ccd.tar.xz linux-222a011efc839ca1f51bf89fe7a2b3705fa55ccd.zip |
udp6: Use Segment Routing Header for dest address if present
When finding the socket to report an error on, if the invoking packet
is using Segment Routing, the IPv6 destination address is that of an
intermediate router, not the end destination. Extract the ultimate
destination address from the segment address.
This change allows traceroute to function in the presence of Segment
Routing.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions