From: Herbert Xu Date: Wed, 12 Dec 2007 18:36:59 +0000 (-0800) Subject: [IPSEC]: Make xfrm_lookup flags argument a bit-field X-Git-Tag: v2.6.25-rc1~1162^2~1142 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=815f4e57e9fc67456624ecde0515a901368c78d2;p=pandora-kernel.git [IPSEC]: Make xfrm_lookup flags argument a bit-field This patch introduces an enum for bits in the flags argument of xfrm_lookup. This is so that we can cram more information into it later. Since all current users use just the values 0 and 1, XFRM_LOOKUP_WAIT has been added with the value 1 << 0 to represent the current meaning of flags. The test in __xfrm_lookup has been changed accordingly. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed