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)
commit9cb8d24da006b562fecd17d34971822e3f6d1a78
treee7651ca1316517558fc2f9a725a1d965f1a4f414
parent8da7ca8760cb84e8e8b443976d1b26391eab1873
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 <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/Modules.mk
datapath/compat.h [new file with mode: 0644]
datapath/datapath.c
datapath/datapath.h
datapath/linux-2.6/compat-2.6/include/net/netlink.h
datapath/vport-patch.c