Re: [PATCH net] mpls: fix warning with multi-label encap

2019-06-09 Thread David Miller
From: George Wilkie Date: Fri, 7 Jun 2019 11:49:41 +0100 > If you configure a route with multiple labels, e.g. > ip route add 10.10.3.0/24 encap mpls 16/100 via 10.10.2.2 dev ens4 > A warning is logged: > kernel: [ 130.561819] netlink: 'ip': attribute type 1 has an invalid > length. > >

Re: [PATCH net] mpls: fix warning with multi-label encap

2019-06-07 Thread David Ahern
On 6/7/19 4:49 AM, George Wilkie wrote: > If you configure a route with multiple labels, e.g. > ip route add 10.10.3.0/24 encap mpls 16/100 via 10.10.2.2 dev ens4 > A warning is logged: > kernel: [ 130.561819] netlink: 'ip': attribute type 1 has an invalid > length. > > This happens because

Re: [PATCH net] mpls: fix warning with multi-label encap

2019-06-07 Thread David Ahern
On 6/7/19 9:49 AM, David Ahern wrote: > On 6/7/19 4:49 AM, George Wilkie wrote: >> If you configure a route with multiple labels, e.g. >> ip route add 10.10.3.0/24 encap mpls 16/100 via 10.10.2.2 dev ens4 >> A warning is logged: >> kernel: [ 130.561819] netlink: 'ip': attribute type 1 has an i