Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt_condition

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Patrick McHardy
Date: Wednesday, September 15, 2010 - 1:39 pm

Am 17.08.2010 10:36, schrieb Luciano Coelho:

I'm not sure whether we already discussed this, but this isn't
useful if namespaces are used since the IDs aren't global.



Why is this called proc_lock, as the comment states it protects
the condition variable list? The comment is also misleading since
this is a mutex and not a semaphore. I'd suggest list_mutex or
condition_mutex.


This is a user buffer, you need copy_to_user(). Also please run
sparse against your code to check for similar errors.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt ..., Patrick McHardy, (Wed Sep 15, 1:39 pm)