From: Sergey Popovich Date: Sat, 2 May 2015 17:28:07 +0000 (+0200) Subject: netfilter: ipset: Return ipset error instead of bool X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~263^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e55d2e5903e4698a964163e0cf81261eee086ee;p=pandora-kernel.git netfilter: ipset: Return ipset error instead of bool Statement ret = func1() || func2() returns 0 when both func1() and func2() return 0, or 1 if func1() or func2() returns non-zero. However in our case func1() and func2() returns error code on failure, so it seems good to propagate such error codes, rather than returning 1 in case of failure. Signed-off-by: Sergey Popovich Signed-off-by: Jozsef Kadlecsik Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed