[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131217135734.77ee5916@nehalam.linuxnetplumber.net>
Date: Tue, 17 Dec 2013 13:57:34 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Daniel Borkmann <dborkman@...hat.com>
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 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.
--
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