[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120924132637.17d89210@nehalam.linuxnetplumber.net>
Date: Mon, 24 Sep 2012 13:26:37 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>,
Chris Wright <chrisw@...hat.com>, netdev@...r.kernel.org
Subject: Re: [PATCHv2 net-next 3/3] vxlan: virtual extensible lan
On Mon, 24 Sep 2012 22:09:50 +0200
Eric Dumazet <eric.dumazet@...il.com> wrote:
> On Mon, 2012-09-24 at 12:46 -0700, Stephen Hemminger wrote:
>
> > +/* Initialize the device structure. */
> > +static void vxlan_setup(struct net_device *dev)
> > +{
> > + struct vxlan_dev *vxlan = netdev_priv(dev);
> > + unsigned h;
> > +
> > + eth_hw_addr_random(dev);
> > + ether_setup(dev);
> > +
> > + dev->netdev_ops = &vxlan_netdev_ops;
> > + dev->destructor = vxlan_free;
> > + SET_NETDEV_DEVTYPE(dev, &vxlan_type);
> > +
> > + dev->tx_queue_len = 0;
> > + dev->features |= NETIF_F_LLTX;
> > + dev->features |= NETIF_F_NETNS_LOCAL;
> > + dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;
>
> I am not sure why you remove IFF_XMIT_DST_RELEASE here
Copied from GRE. What is impact either way?
--
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