static inline struct sk_buff *rpl_gre_handle_offloads(struct sk_buff *skb,
bool gre_csum)
{
- if (skb->encapsulation && skb_is_gso(skb)) {
+ if ((ovs_skb_get_inner_protocol(skb) || skb->encapsulation) &&
+ skb_is_gso(skb)) {
kfree_skb(skb);
return ERR_PTR(-ENOSYS);
}