From: Pablo Neira Ayuso Date: Thu, 31 Jul 2014 18:38:46 +0000 (+0200) Subject: netfilter: don't use mutex_lock_interruptible() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~76^2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7926dbfa4bc14e27f4e18a6184a031a1c1e077dc;p=pandora-kernel.git 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: Eric Dumazet Suggested-by: Patrick McHardy Signed-off-by: Pablo Neira Ayuso Acked-by: Julian Anastasov --- Reading git-diff-tree failed