X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=datapath%2Factions.c;h=cadab05f177234b9fa61ec31b5e5262207203561;hb=0de90890ab331fe7127eeaec6f55f4336fbc39a0;hp=4f23c83d5841cc38ee2d844052b0490c2d81f3af;hpb=d17ee8689bff22541dccaa792b70a848641f3646;p=openvswitch diff --git a/datapath/actions.c b/datapath/actions.c index 4f23c83d..cadab05f 100644 --- a/datapath/actions.c +++ b/datapath/actions.c @@ -37,7 +37,7 @@ make_writable(struct sk_buff *skb, unsigned min_headroom, gfp_t gfp) nskb->ip_summed = skb->ip_summed; nskb->csum = skb->csum; #endif -#if defined(CONFIG_XEN) && LINUX_VERSION_CODE == KERNEL_VERSION(2,6,18) +#if defined(CONFIG_XEN) && defined(HAVE_PROTO_DATA_VALID) /* These fields are copied in skb_clone but not in * skb_copy or related functions. We need to manually * copy them over here. */