Re: [PATCHv2 net-next] geneve: allow to clear ttl inherit

2018-10-04 Thread David Miller
From: Hangbin Liu Date: Sat, 29 Sep 2018 23:06:29 +0800 > As Michal remaind, we should allow to clear ttl inherit. Then we will > have three states: > > 1. set the flag, and do ttl inherit. > 2. do not set the flag, use configured ttl value, or default ttl (0) if >not set. > 3. disable ttl i

[PATCHv2 net-next] geneve: allow to clear ttl inherit

2018-09-29 Thread Hangbin Liu
As Michal remaind, we should allow to clear ttl inherit. Then we will have three states: 1. set the flag, and do ttl inherit. 2. do not set the flag, use configured ttl value, or default ttl (0) if not set. 3. disable ttl inherit, use previous configured ttl value, or default ttl (0). Fixes: 5