From: Florian Westphal Date: Tue, 18 Jan 2011 14:27:28 +0000 (+0100) Subject: netfilter: nfnetlink_queue: return error number to caller X-Git-Tag: v2.6.39-rc1~468^2~510^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f15850861860636c905b33a9a5be3dcbc2b0d56a;p=pandora-kernel.git netfilter: nfnetlink_queue: return error number to caller instead of returning -1 on error, return an error number to allow the caller to handle some errors differently. ECANCELED is used to indicate that the hook is going away and should be ignored. A followup patch will introduce more 'ignore this hook' conditions, (depending on queue settings) and will move kfree_skb responsibility to the caller. Signed-off-by: Florian Westphal Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed