Re: [PATCH net] dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock

2018-02-16 Thread David Miller
From: Paolo Abeni Date: Thu, 15 Feb 2018 16:59:49 +0100 > After commit 3f34cfae1238 ("netfilter: on sockopt() acquire sock lock > only in the required scope"), the caller of nf_{get/set}sockopt() must > not hold any lock, but, in such changeset, I forgot to cope with DECnet. > > This commit addr

[PATCH net] dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock

2018-02-15 Thread Paolo Abeni
After commit 3f34cfae1238 ("netfilter: on sockopt() acquire sock lock only in the required scope"), the caller of nf_{get/set}sockopt() must not hold any lock, but, in such changeset, I forgot to cope with DECnet. This commit addresses the issue moving the nf call outside the lock, in the dn_{get,