[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150817.140738.322659099882412395.davem@davemloft.net>
Date: Mon, 17 Aug 2015 14:07:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jbenc@...hat.com
Cc: netdev@...r.kernel.org, tgraf@...g.ch, roopa@...ulusnetworks.com
Subject: Re: [PATCH net-next] lwtunnel: rename ip lwtunnel attributes
From: Jiri Benc <jbenc@...hat.com>
Date: Fri, 14 Aug 2015 16:40:40 +0200
> We already have IFLA_IPTUN_ netlink attributes. The IP_TUN_ attributes look
> very similar, yet they serve very different purpose. This is confusing for
> anyone trying to implement a user space tool supporting lwt.
>
> As the IP_TUN_ attributes are used only for the lightweight tunnels, prefix
> them with LWTUNNEL_IP_ instead to make their purpose clear. Also, it's more
> logical to have them in lwtunnel.h together with the encap enum.
>
> Fixes: 3093fbe7ff4b ("route: Per route IP tunnel metadata via lightweight tunnel")
> Signed-off-by: Jiri Benc <jbenc@...hat.com>
> ---
> These are still in net-next only, thus it's safe to change them.
>
> It's still a bit weird these attributes are in RTA_ENCAP, perhaps we should
> also rename RTA_ENCAP to RTA_LWT_ENCAP or similar?
Applied, thanks.
--
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