datapath: Check for supported kernel versions.
authorJesse Gross <jesse@nicira.com>
Mon, 13 Jun 2011 18:36:19 +0000 (11:36 -0700)
committerJesse Gross <jesse@nicira.com>
Mon, 13 Jun 2011 20:05:03 +0000 (13:05 -0700)
commitcd400f3e5950d0cdeff0f73fdc2cfb8349eac5d9
tree5af26a03d8bb15e09142eaf557b4a2d48e075b6d
parent9a87628422cf1fdab12dd264531dc874a9ac2ccd
datapath: Check for supported kernel versions.

Most of the time kernels older or newer than the ones we support
simply fail to compile.  However, sometimes they appear to succeed
but then cause problems later on.  This explicitly checks for
supported versions at compile time.

Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c