Hi,

I'm facing issues in recompiling openvswitch with --with-linux on Centos 6.7 that runs 2.6.32-573.3.1.el6.x86_64 kernel. Below is the error:

  CC [M]  /home/sabyasse/Linux/src/sandbox/ovs/datapath/linux/actions.o
In file included from /home/sabyasse/Linux/src/sandbox/ovs/datapath/linux/actions.c:21: /home/sabyasse/Linux/src/sandbox/ovs/datapath/linux/compat/include/linux/skbuff.h: In function ‘skb_clear_hash’: /home/sabyasse/Linux/src/sandbox/ovs/datapath/linux/compat/include/linux/skbuff.h:335: error: ‘struct sk_buff’ has no member named ‘l4_rxhash’ make[5]: *** [/home/sabyasse/Linux/src/sandbox/ovs/datapath/linux/actions.o] Error 1 make[4]: *** [_module_/home/sabyasse/Linux/src/sandbox/ovs/datapath/linux] Error 2

I noticed that HAVE_RHEL_OVS_HOOK may not be defined in this kernel owing to the following:

[sabyasse@sabyasg-lnx-06 vca_v8]$ grep -r openvswitch_handle_frame_hook /usr/src/kernels/2.6.32-
2.6.32-494.el6.x86_64/     2.6.32-573.3.1.el6.x86_64/
[sabyasse@sabyasg-lnx-06 vca_v8]$ grep -r openvswitch_handle_frame_hook 
/usr/src/kernels/2.6.32-573.3.1.el6.x86_64/
[sabyasse@sabyasg-lnx-06 vca_v8]$ grep -r openvswitch_handle_frame_hook 
/usr/src/kernels/2.6.32-494.el6.x86_64/
/usr/src/kernels/2.6.32-494.el6.x86_64/include/linux/openvswitch.h:extern struct sk_buff *(*openvswitch_handle_frame_hook)(struct sk_buff *skb);
[..]

Is there a patch already available?

Thanks,
Sabya
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to