From: Ben Pfaff Date: Sat, 16 Feb 2013 01:29:22 +0000 (-0800) Subject: openvswitch: Allow OVS_USERSPACE_ATTR_USERDATA to be variable length. X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~435^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4490108b4a5ada14c7be712260829faecc814ae5;p=pandora-kernel.git openvswitch: Allow OVS_USERSPACE_ATTR_USERDATA to be variable length. Until now, the optional OVS_USERSPACE_ATTR_USERDATA attribute had to be exactly 64 bits long, if it was present. However, 64 bits is not enough space to associate as much information with a flow as would be convenient for some userspace features now under development. This commit generalizes the attribute, allowing it to be any length. This generalization is backward-compatible: if userspace only uses 64-bit attributes, then it will not see any change in behavior. CC: Romain Lenglet Signed-off-by: Ben Pfaff Signed-off-by: Jesse Gross --- Reading git-diff-tree failed