datapath: Backport flex_arrays.
authorJesse Gross <jesse@nicira.com>
Fri, 15 Jul 2011 16:59:06 +0000 (09:59 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 29 Jul 2011 00:13:03 +0000 (17:13 -0700)
commit135faefe4af624489ac310810a5ffb5223606252
tree2e930fb60bc6fe2e28d4ac7a4fdfcba459919992
parent466d7efa366fddac616c537507b56e319965b63c
datapath: Backport flex_arrays.

flex_arrays didn't exist at all until 2.6.30, weren't exported to modules
until 2.6.38, and performed poorly until 3.0, so this backports the
functionality to older kernels.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/linux/.gitignore
datapath/linux/Modules.mk
datapath/linux/compat/flex_array.c [new file with mode: 0644]
datapath/linux/compat/include/linux/flex_array.h [new file with mode: 0644]
datapath/linux/compat/include/linux/poison.h [new file with mode: 0644]