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 18:36:19 +0000 (11:36 -0700)
commit4cf41591f33c9c2ca0ac288ffafd3be68d62f823
tree67e00cdfd0a83522d836aa9f72ab90e727262e28
parentf8cd50a42b8a816204a8955772d4493a0fb12686
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