From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Benc Subject: [PATCH net 0/3] ipgre: fix lwtunnel support Date: Fri, 22 Apr 2016 19:44:05 +0200 Message-ID: Cc: Pravin B Shelar , Thomas Graf , Simon Horman To: netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44502 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932345AbcDVRoU (ORCPT ); Fri, 22 Apr 2016 13:44:20 -0400 Sender: netdev-owner@vger.kernel.org List-ID: lwtunnels currently work only with gretap. This patchset fixes the bugs in ipgre metadata mode implementation. As an example, in this setup: ip a a 192.168.1.1/24 dev eth0 ip l a gre1 type gre external ip l s gre1 up ip a a 192.168.99.1/24 dev gre1 ip r a 192.168.99.2/32 encap ip dst 192.168.1.2 ttl 10 dev gre1 ping 192.168.99.2 the traffic does not go through before this patchset and does as expected with it applied. Jiri Benc (3): gre: do not assign header_ops in collect metadata mode gre: build header correctly for collect metadata tunnels gre: receive also TEB packets for lwtunnels include/net/ip_tunnels.h | 1 + net/ipv4/ip_gre.c | 48 +++++++++++++++++++++++++++++++++--------------- 2 files changed, 34 insertions(+), 15 deletions(-) -- 1.8.3.1