Thread (11 messages) 11 messages, 5 authors, 2022-01-04

Re: [PATCH v5 net-next 3/3] udp6: Use Segment Routing Header for dest address if present

flat view

From: David Ahern <hidden>
Date: 2022-01-03 17:35:11

On 1/3/22 10:11 AM, Andrew Lunn wrote:
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>
---
 include/net/seg6.h | 19 +++++++++++++++++++
 net/ipv6/udp.c     |  3 ++-
 2 files changed, 21 insertions(+), 1 deletion(-)
Reviewed-by: David Ahern <dsahern@kernel.org>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help