[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <52B0C93E.6070706@redhat.com>
Date: Tue, 17 Dec 2013 22:59:26 +0100
From: Daniel Borkmann <dborkman@...hat.com>
To: Stephen Hemminger <stephen@...workplumber.org>
CC: davem@...emloft.net, shahed.shaikh@...gic.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] net: vxlan: use custom ndo_change_mtu handler
On 12/17/2013 10:57 PM, Stephen Hemminger wrote:
> On Tue, 17 Dec 2013 21:37:40 +0100
> Daniel Borkmann <dborkman@...hat.com> wrote:
>
>> + struct vxlan_rdst *dst = &vxlan->default_dst;
>> + struct net_device *lowerdev;
>> + int max_mtu;
>> +
>> + lowerdev = __dev_get_by_index(dev_net(dev),
>> + vxlan->default_dst.remote_ifindex);
>
> Actually, I meant that you should use dst->remote_ifindex here.
Ah, okay, was just wondering as it was used in dst->remote_ip.sa.sa_family.
Ok, will do, sure.
--
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