datapath: Correct version check for genetlink net namespaces.
authorJesse Gross <jesse@nicira.com>
Sun, 30 Jan 2011 21:05:33 +0000 (13:05 -0800)
committerJesse Gross <jesse@nicira.com>
Sun, 30 Jan 2011 21:27:03 +0000 (13:27 -0800)
commit8ce41058990860158a4b9d31b52de46558eee6a5
tree4af3e8b65e3c833072ba83fff174d7f87eb6203c
parent47e0120572fdca82f2e97b82bee5ff2e36b6c93e
datapath: Correct version check for genetlink net namespaces.

Network namespaces were introduced in 2.6.24, not 2.6.19 as some of the
version checks were looking for.  This caused compile errors in that
kernel range when the functions couldn't be found.  In addition,
namespace support wasn't initially available in Netlink so the netns
headers weren't included, causing compile problems for a few more
kernels.

Reported-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux-2.6/compat-2.6/include/net/genetlink.h