datapath: Use compat directory only for backported code.
authorJesse Gross <jesse@nicira.com>
Fri, 11 Mar 2011 22:58:18 +0000 (14:58 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 14 Mar 2011 16:53:23 +0000 (09:53 -0700)
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 <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>

No differences found