X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Fexthdrs_core.c;h=56a17daaf6185903ba761669f3322e6be5db32bf;hb=02df89d2c6552078475fa8ac008615804f255a42;hp=29e4e056d3394f15f472f4b04f0e5afb0448ac3f;hpb=5e9a47719dd02a099939f5aaada5ca3ae3b47dc3;p=cascardo%2Fovs.git diff --git a/datapath/linux/compat/exthdrs_core.c b/datapath/linux/compat/exthdrs_core.c index 29e4e056d..56a17daaf 100644 --- a/datapath/linux/compat/exthdrs_core.c +++ b/datapath/linux/compat/exthdrs_core.c @@ -2,7 +2,6 @@ #include #include -#ifndef HAVE_IP6_FH_F_SKIP_RH #if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0) int rpl_ipv6_skip_exthdr(const struct sk_buff *skb, int start, u8 *nexthdrp, __be16 *frag_offp) @@ -48,6 +47,7 @@ int rpl_ipv6_skip_exthdr(const struct sk_buff *skb, int start, } #endif /* Kernel version < 3.3 */ +#ifndef HAVE_IP6_FH_F_SKIP_RH /* * find the offset to specified header or the protocol number of last header * if target < 0. "last header" is transport protocol header, ESP, or