From: Tom Herbert Date: Tue, 4 Nov 2014 17:06:53 +0000 (-0800) Subject: gue: Add infrastructure for flags and options X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~274^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5024c33ac354577635c5671498891eb197f3ec4d;p=pandora-kernel.git gue: Add infrastructure for flags and options Add functions and basic definitions for processing standard flags, private flags, and control messages. This includes definitions to compute length of optional fields corresponding to a set of flags. Flag validation is in validate_gue_flags function. This checks for unknown flags, and that length of optional fields is <= length in guehdr hlen. Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed