From: Jesse Gross Date: Fri, 11 Mar 2011 22:58:18 +0000 (-0800) Subject: datapath: Use compat directory only for backported code. X-Git-Tag: v1.1.0~151 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9cb8d24da006b562fecd17d34971822e3f6d1a78;hp=9cb8d24da006b562fecd17d34971822e3f6d1a78;p=sliver-openvswitch.git datapath: Use compat directory only for backported code. Most necessary compatibility code is simply backported versions of kernel functions from newer kernels. These belong in the compat directory, where they can be transparently picked up when necessary. However, in some situations there is code that is different depending on the kernel version but is always needed in some form. Here it is desirable to segregate the code but it does not really belong in the compat directory because it does not exist in upstream kernels. This moves those functions to a compat file, which makes the meaning clear and prevents problems when Open vSwitch is integrated into other projects. Signed-off-by: Jesse Gross Acked-by: Ben Pfaff ---