[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3cc96c83-846d-7441-99b1-79947ca9fcd6@gmail.com>
Date: Sat, 9 Dec 2017 09:41:25 -0700
From: David Ahern <dsahern@...il.com>
To: Stephen Hemminger <stephen@...workplumber.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, Stephen Hemminger <sthemmin@...rosoft.com>
Subject: Re: [PATCH net-next 2/2] veth: set peer GSO values
On 12/7/17 4:40 PM, Stephen Hemminger wrote:
> diff --git a/drivers/net/veth.c b/drivers/net/veth.c
> index f5438d0978ca..a69ad39ee57e 100644
> --- a/drivers/net/veth.c
> +++ b/drivers/net/veth.c
> @@ -410,6 +410,9 @@ static int veth_newlink(struct net *src_net, struct net_device *dev,
> if (ifmp && (dev->ifindex != 0))
> peer->ifindex = ifmp->ifi_index;
>
> + peer->gso_max_size = dev->gso_max_size;
> + peer->gso_max_segs = dev->gso_max_segs;
> +
> err = register_netdevice(peer);
> put_net(net);
> net = NULL;
>
What if gso changes are made after device create? They are not
propagated to the peer device like they are on link create.
Powered by blists - more mailing lists