mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 18:14:22 -04:00
gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
[ Upstream commit981542c526] After commit308edfdf15("gre6: Cleanup GREv6 receive path, call common GRE functions") it's not used anywhere in the module, but previously was used in ip6gre_rcv(). Fixes:308edfdf15("gre6: Cleanup GREv6 receive path, call common GRE functions") Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
266fd76296
commit
ffe6293d19
@@ -461,7 +461,7 @@ static int ip6gre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi)
|
||||
&ipv6h->saddr, &ipv6h->daddr, tpi->key,
|
||||
tpi->proto);
|
||||
if (tunnel) {
|
||||
ip6_tnl_rcv(tunnel, skb, tpi, NULL, false);
|
||||
ip6_tnl_rcv(tunnel, skb, tpi, NULL, log_ecn_error);
|
||||
|
||||
return PACKET_RCVD;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user