Skip to content
Snippets Groups Projects
Commit 7926dbfa authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso
Browse files

netfilter: don't use mutex_lock_interruptible()


Eric Dumazet reports that getsockopt() or setsockopt() sometimes
returns -EINTR instead of -ENOPROTOOPT, causing headaches to
application developers.

This patch replaces all the mutex_lock_interruptible() by mutex_lock()
in the netfilter tree, as there is no reason we should sleep for a
long time there.

Reported-by: default avatarEric Dumazet <edumazet@google.com>
Suggested-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Acked-by: default avatarJulian Anastasov <ja@ssi.bg>
parent b88825de
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment