X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=acinclude.m4;h=6a829d596416fa72ae97f50b1ff6bbe3d474f964;hb=cf6cb3a2ab31a16b01e18e1db2d601e92f2a405e;hp=fed950bd4cb2f266585ec4c6286b260183a76f9c;hpb=303708cc8417959bbb7662fa52e0761a48bacbb1;p=sliver-openvswitch.git diff --git a/acinclude.m4 b/acinclude.m4 index fed950bd4..6a829d596 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -168,6 +168,10 @@ AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [ OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_disable_lro]) OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_get_stats]) + OVS_GREP_IFELSE([$KSRC26/include/linux/rcupdate.h], [rcu_read_lock_held], [], + [OVS_GREP_IFELSE([$KSRC26/include/linux/rtnetlink.h], + [rcu_read_lock_held])]) + # Check for the proto_data_valid member in struct sk_buff. The [^@] # is necessary because some versions of this header remove the # member but retain the kerneldoc comment that describes it (which