Re: [PATCH] netlink: simplify nfnetlink_bind

2014-03-24 Thread Richard Guy Briggs
On 14/03/24, Pablo Neira Ayuso wrote: > On Fri, Mar 21, 2014 at 12:44:09PM -0400, Richard Guy Briggs wrote: > > Remove duplicity and simplify code flow by moving the rcu_read_unlock() > > above > > the condition and let the flow control exit naturally at the end of the > > function. > > > > Signe

Re: [PATCH] netlink: simplify nfnetlink_bind

2014-03-24 Thread Pablo Neira Ayuso
On Fri, Mar 21, 2014 at 12:44:09PM -0400, Richard Guy Briggs wrote: > Remove duplicity and simplify code flow by moving the rcu_read_unlock() above > the condition and let the flow control exit naturally at the end of the > function. > > Signed-off-by: Richard Guy Briggs > --- > net/netfilter/nf

[PATCH] netlink: simplify nfnetlink_bind

2014-03-21 Thread Richard Guy Briggs
Remove duplicity and simplify code flow by moving the rcu_read_unlock() above the condition and let the flow control exit naturally at the end of the function. Signed-off-by: Richard Guy Briggs --- net/netfilter/nfnetlink.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --gi