Skip to content

Commit

Permalink
gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
Browse files Browse the repository at this point in the history
After commit 308edfd ("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: 308edfd ("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>
  • Loading branch information
Alexey Kodanev authored and David S. Miller committed Nov 19, 2017
1 parent 1deab8c commit 981542c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/ip6_gre.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,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;
}
Expand Down

0 comments on commit 981542c

Please sign in to comment.