The check for tunnel GSO packet is done at ip-handle-offloads. Remove
same check from udp-handle-offloads.

Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
 datapath/linux/compat/include/net/udp_tunnel.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/datapath/linux/compat/include/net/udp_tunnel.h 
b/datapath/linux/compat/include/net/udp_tunnel.h
index e6b7d84..7fccc12 100644
--- a/datapath/linux/compat/include/net/udp_tunnel.h
+++ b/datapath/linux/compat/include/net/udp_tunnel.h
@@ -154,10 +154,6 @@ static inline int rpl_udp_tunnel_handle_offloads(struct 
sk_buff *skb,
 
        void (*fix_segment)(struct sk_buff *);
 
-       if (skb_is_gso(skb) && skb_is_encapsulated(skb)) {
-               return -ENOSYS;
-       }
-
        type |= udp_csum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL;
        if (!udp_csum)
                fix_segment = ovs_udp_gso;
-- 
1.9.1

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to