Re: [PATCH 0/2] Fix (improve) deadlock condition on module removal netfilter socket option removal

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Patrick McHardy
Date: Wednesday, September 5, 2007 - 8:22 am

Neil Horman wrote:


Nice catch, we've had a report of this ages ago, but I never figured
out what happend.

But I'm wondering, wouldn't module refcounting alone fix this problem?
If we make nf_sockopt() call try_module_get(ops->owner), remove_module()
on ip_tables.ko would simply fail because the refcount is above zero
(so it would fail at point 3 above). Am I missing something important?

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/2] Fix (improve) deadlock condition on module ..., Patrick McHardy, (Wed Sep 5, 8:22 am)