datapath: Hardcode vport multicast group ID on older kernels.
authorEthan Jackson <ethan@nicira.com>
Mon, 12 Sep 2011 21:09:34 +0000 (14:09 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 16 Sep 2011 18:22:30 +0000 (11:22 -0700)
commit7fad428207c1d2ef50878da0740ee94dd57eb8bf
tree61b48924af0bd50aa5541b8486781ee1f5d64d39
parent2ee6545f2bff7eb27e8c84965e3ff38dfa909bf6
datapath: Hardcode vport multicast group ID on older kernels.

Older kernels do not advertise the multicast groups of families
when requested by userspace.  As a workaround, this patch hardcodes
the multicast group ID of the ovs_vport family on these kernels.
Userspace will be able to fall back to this hardcoded value if the
standard mechanism is unavailable.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/genetlink.inc
include/openvswitch/automake.mk
include/openvswitch/datapath-compat.h [new file with mode: 0644]