On 11/5/2018 7:52 AM, Ben Pfaff wrote:
Where can I find this patch?  It is not in patchwork, nor in my personal
email archive.

Thanks,

Ben.

Here:

From: Haishuang Yan<[email protected]>

Upstream commit:
    commit 51dc63e3911fbb1f0a7a32da2fe56253e2040ea4
    Author: Haishuang Yan<[email protected]>
    Date:   Mon Sep 10 22:19:48 2018 +0800

    erspan: fix error handling for erspan tunnel

    When processing icmp unreachable message for erspan tunnel, tunnel id
    should be erspan_net_id instead of ipgre_net_id.

    Fixes: 84e54fe0a5ea ("gre: introduce native tunnel support for ERSPAN")
    Cc: William Tu<[email protected]>
    Signed-off-by: Haishuang Yan<[email protected]>
    Acked-by: William Tu<[email protected]>
    Signed-off-by: David S. Miller<[email protected]>

Fixes: 8e53509c ("gre: introduce native tunnel support for ERSPAN")
Signed-off-by: Greg Rose<[email protected]>
---
 datapath/linux/compat/ip_gre.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/datapath/linux/compat/ip_gre.c b/datapath/linux/compat/ip_gre.c
index b7322c5..6ac2dd9 100644
--- a/datapath/linux/compat/ip_gre.c
+++ b/datapath/linux/compat/ip_gre.c
@@ -312,6 +312,9 @@ static int ipgre_rcv(struct sk_buff *skb, const struct 
tnl_ptk_info *tpi,
if (tpi->proto == htons(ETH_P_TEB))
                itn = net_generic(net, gre_tap_net_id);
+       else if (tpi->proto == htons(ETH_P_ERSPAN) ||
+                tpi->proto == htons(ETH_P_ERSPAN2))
+               itn = net_generic(net, erspan_net_id);
        else
                itn = net_generic(net, ipgre_net_id);
-- 1.8.3.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to