Fix missing symbol in brcompat kernel module on older kernels.
authorJustin Pettit <jpettit@nicira.com>
Tue, 30 Dec 2008 19:23:34 +0000 (11:23 -0800)
committerJustin Pettit <jpettit@nicira.com>
Tue, 30 Dec 2008 19:23:34 +0000 (11:23 -0800)
In kernels older than 2.6.23, the genl_register_mc_group function is not
defined, so we fake it.  The original checkin didn't build the C file
that contains the function's definition.

datapath/linux-2.6/Modules.mk

index dae760618bc870e52024c8745ea18534b60ec2f4..b3211c140a38a2722f5a3f70079ea480a5961fda 100644 (file)
@@ -22,6 +22,7 @@ openflow_headers += \
        linux-2.6/compat-2.6/include/net/genetlink.h
 
 brcompat_sources = \
+       linux-2.6/compat-2.6/genetlink.c \
        brcompat.c 
 
 brcompat_headers =