# Re: \[PATCH net-next 1/7\] net: ipv4: Control SKB reprioritization after forwarding

- From: Petr Machata \<hidden\>
- Date: 2018-07-31 14:02:06 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2018/07/8522809
- Thread: https://ratatoskr.run/netdev/2018/07/8522809/t.md

```text
Nikolay Aleksandrov [ref] writes:

>> diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
>> index f2a0a3bab6b5..d3cfbd89ca3a 100644
>> --- a/net/ipv4/af_inet.c
>> +++ b/net/ipv4/af_inet.c
>> @@ -1802,6 +1802,7 @@ static __net_init int inet_init_net(struct net *net)
>>  	 * We set them here, in case sysctl is not compiled.
>>  	 */
>>  	net->ipv4.sysctl_ip_default_ttl = IPDEFTTL;
>> +	net->ipv4.sysctl_ip_fwd_update_priority = true;
>
> nit: since this is an int and to keep the code style of inet_init_net()
>      I'd suggest to use 1 instead

OK.

Thanks,
Petr
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
