From: Paul Moore Date: Fri, 17 Nov 2006 22:38:47 +0000 (-0500) Subject: NetLabel: check for a CIPSOv4 option before we do call into the CIPSOv4 layer X-Git-Tag: v2.6.20-rc1~34^2~40^2~279 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05e00cbf5036929355020dab4837b637203a0742;p=pandora-kernel.git NetLabel: check for a CIPSOv4 option before we do call into the CIPSOv4 layer Right now the NetLabel code always jumps into the CIPSOv4 layer to determine if a CIPSO IP option is present. However, we can do this check directly in the NetLabel code by making use of the CIPSO_V4_OPTEXIST() macro which should save us a function call in the common case of not having a CIPSOv4 option present. Signed-off-by: Paul Moore Signed-off-by: James Morris --- Reading git-diff-tree failed