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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ