lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 07 Oct 2015 04:31:40 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	dsa@...ulusnetworks.com
Cc:	netdev@...r.kernel.org, dsahern@...il.com
Subject: Re: [PATCH net-next] net: Lookup actual route when oif is VRF
 device

From: David Ahern <dsa@...ulusnetworks.com>
Date: Mon,  5 Oct 2015 10:49:04 -0700

> If the user specifies a VRF device in a get route query the custom route
> pointing to the VRF device is returned:
> 
>     $ ip route ls table vrf-red
>     unreachable default
>     broadcast 10.2.1.0 dev eth1  proto kernel  scope link  src 10.2.1.2
>     10.2.1.0/24 dev eth1  proto kernel  scope link  src 10.2.1.2
>     local 10.2.1.2 dev eth1  proto kernel  scope host  src 10.2.1.2
>     broadcast 10.2.1.255 dev eth1  proto kernel  scope link  src 10.2.1.2
> 
>     $ ip route get oif vrf-red 10.2.1.40
>     10.2.1.40 dev vrf-red
>         cache
> 
> Add the flags to skip the custom route and go directly to the FIB. With
> this patch the actual route is returned:
> 
>     $ ip route get oif vrf-red 10.2.1.40
>     10.2.1.40 dev eth1  src 10.2.1.2
>         cache
> 
> Signed-off-by: David Ahern <dsa@...ulusnetworks.com>

Applied, thank
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists