[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150115.180648.1866614155229401390.davem@davemloft.net>
Date: Thu, 15 Jan 2015 18:06:48 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: johannes@...solutions.net
Cc: netdev@...r.kernel.org, jeff.layton@...marydata.com,
sedat.dilek@...il.com
Subject: Re: [PATCH 3/3] genetlink: synchronize socket closing and family
removal
From: Johannes Berg <johannes@...solutions.net>
Date: Thu, 15 Jan 2015 21:55:06 +0100
> On Thu, 2015-01-15 at 14:50 -0500, David Miller wrote:
>> From: Johannes Berg <johannes@...solutions.net>
>> Date: Thu, 15 Jan 2015 12:04:45 +0100
>>
>> > + atomic_dec(&genl_sk_destructing_cnt);
>> > + printk(KERN_DEBUG "dec destructing\n");
>> > + wake_up(&genl_sk_destructing_waitq);
>>
>> Hmmm, maybe only wakeup if "!atomic_dec_and_test()"?
>
> Yes, good point.
>
> And, umm, how the hell did I manage to leave the printk() in there?
Johannes, please repost the whole series when you have to make
changes to one or more of the patches within.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists