Re: [PATCHv2 iproute2-next] ip/geneve: fix ttl inherit behavior

2018-10-21 Thread David Ahern
On 10/18/18 1:01 AM, Hangbin Liu wrote: > Currently when we add geneve with "ttl inherit", we only set ttl to 0, which > is actually use whatever default value instead of inherit the inner protocol's > ttl value. > > To make a difference with ttl inherit and ttl == 0, we add an attribute > IFLA_GE

[PATCHv2 iproute2-next] ip/geneve: fix ttl inherit behavior

2018-10-18 Thread Hangbin Liu
Currently when we add geneve with "ttl inherit", we only set ttl to 0, which is actually use whatever default value instead of inherit the inner protocol's ttl value. To make a difference with ttl inherit and ttl == 0, we add an attribute IFLA_GENEVE_TTL_INHERIT in kernel commit 52d0d404d39dd ("ge