From: Alexey Kodanev <alexey.koda...@oracle.com>
Date: Thu, 11 Jan 2018 16:02:54 +0300

> For ip6gretap, reset dev->mtu to zero in ip6gre_tap_setup()
> after ether_setup(), in order for it to work with the new check
> in ip6gre_tunnel_init_common().

This part is error prone.  Please instead add a new boolean argument
to ip6gre_tunnel_init_common: "bool set_mtu".  Set it to true when
it is invoked from ip6gre_tap_init() and false when it is invoked
from ip6gre_tunnel_init().

Thank you.

Reply via email to