Re: [PATCH v3] IPv6: RTM_GETROUTE: Add RTA_ENCAP to result

2020-11-18 Thread Oliver Herms
On 18.11.20 21:19, David Ahern wrote: > > You forgot to remove the dst part of that. rt6 == dst so to be in this > branch dst != NULL. Damn. I've indeed overseen that one. Just submitted version 4. Thanks for guiding me through this!

Re: [PATCH v3] IPv6: RTM_GETROUTE: Add RTA_ENCAP to result

2020-11-18 Thread David Ahern
On 11/18/20 8:14 AM, Oliver Herms wrote: > This patch adds an IPv6 routes encapsulation attribute > to the result of netlink RTM_GETROUTE requests > (i.e. ip route get 2001:db8::). > > Signed-off-by: Oliver Herms > --- > net/ipv6/route.c | 4 > 1 file changed, 4 insertions(+) > > diff --gi

[PATCH v3] IPv6: RTM_GETROUTE: Add RTA_ENCAP to result

2020-11-18 Thread Oliver Herms
This patch adds an IPv6 routes encapsulation attribute to the result of netlink RTM_GETROUTE requests (i.e. ip route get 2001:db8::). Signed-off-by: Oliver Herms --- net/ipv6/route.c | 4 1 file changed, 4 insertions(+) diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 7e0ce7af8234..6