[ovs-dev] [PATCH V3 16/40] compat: Add #define for gre_handle_offloads

William Tu u9012063 at gmail.com
Mon May 21 22:42:20 UTC 2018


On Fri, May 18, 2018 at 5:49 PM, Greg Rose <gvrose8192 at gmail.com> wrote:
> Fixes compile errors on some 4.x kernels.
>
> Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
> ---

LGTM
Acked-by: William Tu <u9012063 at gmail.com>

>  datapath/linux/compat/ip_gre.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/datapath/linux/compat/ip_gre.c b/datapath/linux/compat/ip_gre.c
> index f849971..b1493e0 100644
> --- a/datapath/linux/compat/ip_gre.c
> +++ b/datapath/linux/compat/ip_gre.c
> @@ -421,6 +421,7 @@ static bool is_gre_gso(struct sk_buff *skb)
>         return skb_is_gso(skb);
>  }
>
> +#define gre_handle_offloads rpl_gre_handle_offloads
>  static int rpl_gre_handle_offloads(struct sk_buff *skb, bool gre_csum)
>  {
>         int type = gre_csum ? SKB_GSO_GRE_CSUM : SKB_GSO_GRE;
> --
> 1.8.3.1
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev


More information about the dev mailing list