X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Fflow_dissector.c;h=7a0d09b98546ee632b275aba30324815ebf2c8ed;hb=60c4904fec5a26fcd5d46eaacd87a6601a9ea470;hp=f176f9ae71d5a2994a412c8f5f7fe38fee0b9023;hpb=1653f445b3cf25ce1278bd7451ee1f56e90c5928;p=sliver-openvswitch.git diff --git a/datapath/linux/compat/flow_dissector.c b/datapath/linux/compat/flow_dissector.c index f176f9ae7..7a0d09b98 100644 --- a/datapath/linux/compat/flow_dissector.c +++ b/datapath/linux/compat/flow_dissector.c @@ -226,7 +226,7 @@ u32 __skb_get_rxhash(struct sk_buff *skb) if (!hash) hash = 1; -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,34) +#ifdef HAVE_RXHASH skb->rxhash = hash; #endif return hash;