All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Borkmann <dborkman@redhat.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: davem@davemloft.net, shahed.shaikh@qlogic.com, netdev@vger.kernel.org
Subject: Re: [PATCH v2 net-next] net: vxlan: use custom ndo_change_mtu handler
Date: Tue, 17 Dec 2013 22:59:26 +0100	[thread overview]
Message-ID: <52B0C93E.6070706@redhat.com> (raw)
In-Reply-To: <20131217135734.77ee5916@nehalam.linuxnetplumber.net>

On 12/17/2013 10:57 PM, Stephen Hemminger wrote:
> On Tue, 17 Dec 2013 21:37:40 +0100
> Daniel Borkmann <dborkman@redhat.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.

      reply	other threads:[~2013-12-17 21:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17 20:37 [PATCH v2 net-next] net: vxlan: use custom ndo_change_mtu handler Daniel Borkmann
2013-12-17 21:57 ` Stephen Hemminger
2013-12-17 21:57 ` Stephen Hemminger
2013-12-17 21:59   ` Daniel Borkmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52B0C93E.6070706@redhat.com \
    --to=dborkman@redhat.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=shahed.shaikh@qlogic.com \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.