Re: [PATCH 2/2] gre: Fix wrong tpi->proto in WCCP

2016-05-12 Thread David Miller
From: Haishuang Yan Date: Wed, 11 May 2016 18:48:32 +0800 > When dealing with WCCP in gre6 tunnel, it sets the wrong tpi->protocol, > that is, ETH_P_IP instead of ETH_P_IPV6 for the encapuslated traffic. > > Signed-off-by: Haishuang Yan Applied.

[PATCH 2/2] gre: Fix wrong tpi->proto in WCCP

2016-05-11 Thread Haishuang Yan
When dealing with WCCP in gre6 tunnel, it sets the wrong tpi->protocol, that is, ETH_P_IP instead of ETH_P_IPV6 for the encapuslated traffic. Signed-off-by: Haishuang Yan --- include/net/gre.h| 2 +- net/ipv4/gre_demux.c | 6 +++--- net/ipv4/ip_gre.c| 4 ++-- net/ipv6/ip6_gre.c | 2 +-