Patch "netfilter: on sockopt() acquire sock lock only in the required scope" has been added to the 4.14-stable tree