From: David Ahern
Date: Thu, 17 Aug 2017 12:17:20 -0700
> One nagging difference between ipv4 and ipv6 is host routes for ipv6
> addresses are installed using the loopback device or VRF / L3 Master
> device. e.g.,
>
> 2001:db8:1::/120 dev veth0 proto kernel metric 256 pref medium
> local
On 8/18/17 6:28 PM, Hannes Frederic Sowa wrote:
> David Ahern writes:
>
>> On 8/18/17 6:05 PM, David Ahern wrote:
>>> On 8/18/17 5:15 PM, Hannes Frederic Sowa wrote:
Hello David,
David Ahern writes:
> @@ -2688,15 +2716,9 @@ struct rt6_info *addrconf_dst_alloc(struct
From: David Ahern
Date: Fri, 18 Aug 2017 18:05:56 -0600
> On 8/18/17 5:15 PM, Hannes Frederic Sowa wrote:
>> Hello David,
>>
>> David Ahern writes:
>>
>>> @@ -2688,15 +2716,9 @@ struct rt6_info *addrconf_dst_alloc(struct inet6_dev
>>> *idev,
>>> {
>>> u32 tb_id;
>>> struct net *net =
David Ahern writes:
> On 8/18/17 6:05 PM, David Ahern wrote:
>> On 8/18/17 5:15 PM, Hannes Frederic Sowa wrote:
>>> Hello David,
>>>
>>> David Ahern writes:
>>>
@@ -2688,15 +2716,9 @@ struct rt6_info *addrconf_dst_alloc(struct
inet6_dev *idev,
{
u32 tb_id;
struct
On 8/18/17 6:05 PM, David Ahern wrote:
> On 8/18/17 5:15 PM, Hannes Frederic Sowa wrote:
>> Hello David,
>>
>> David Ahern writes:
>>
>>> @@ -2688,15 +2716,9 @@ struct rt6_info *addrconf_dst_alloc(struct inet6_dev
>>> *idev,
>>> {
>>> u32 tb_id;
>>> struct net *net = dev_net(idev->dev);
On 8/18/17 5:15 PM, Hannes Frederic Sowa wrote:
> Hello David,
>
> David Ahern writes:
>
>> @@ -2688,15 +2716,9 @@ struct rt6_info *addrconf_dst_alloc(struct inet6_dev
>> *idev,
>> {
>> u32 tb_id;
>> struct net *net = dev_net(idev->dev);
>> -struct net_device *dev = net->loopback
Hello David,
David Ahern writes:
> @@ -2688,15 +2716,9 @@ struct rt6_info *addrconf_dst_alloc(struct inet6_dev
> *idev,
> {
> u32 tb_id;
> struct net *net = dev_net(idev->dev);
> - struct net_device *dev = net->loopback_dev;
> + struct net_device *dev = idev->dev;
> s
One nagging difference between ipv4 and ipv6 is host routes for ipv6
addresses are installed using the loopback device or VRF / L3 Master
device. e.g.,
2001:db8:1::/120 dev veth0 proto kernel metric 256 pref medium
local 2001:db8:1::1 dev lo table local proto kernel metric 0 pref medium
U