• J
    lwtunnel: rename ip lwtunnel attributes · a1c234f9
    Jiri Benc 提交于
    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: 3093fbe7 ("route: Per route IP tunnel metadata via lightweight tunnel")
    Signed-off-by: NJiri Benc <jbenc@redhat.com>
    Acked-by: NThomas Graf <tgraf@suug.ch>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    a1c234f9
ip_tunnel_core.c 8.3 KB