From: Ben Hutchings <ben.hutchi...@codethink.co.uk>
Date: Mon, 22 Jan 2018 20:06:42 +0000

> Commit 513674b5a2c9 ("net: reevalulate autoflowlabel setting after
> sysctl setting") removed the initialisation of
> ipv6_pinfo::autoflowlabel and added a second flag to indicate
> whether this field or the net namespace default should be used.
> 
> The getsockopt() handling for this case was not updated, so it
> currently returns 0 for all sockets for which IPV6_AUTOFLOWLABEL is
> not explicitly enabled.  Fix it to return the effective value, whether
> that has been set at the socket or net namespace level.
> 
> Fixes: 513674b5a2c9 ("net: reevalulate autoflowlabel setting after sysctl 
> ...")
> Signed-off-by: Ben Hutchings <ben.hutchi...@codethink.co.uk>
> ---
> This will need to go to stable, as the earlier commit did.

Applied and queued up for -stable, thanks Ben.

Reply via email to