[ovs-dev] [PATCH 4/5] datapath: stt: Relax MTU constraints.

Jesse Gross jesse at kernel.org
Tue Feb 16 22:02:59 UTC 2016


On Tue, Feb 16, 2016 at 10:43 AM, Joe Stringer <joe at ovn.org> wrote:
> diff --git a/datapath/linux/compat/include/net/stt.h b/datapath/linux/compat/include/net/stt.h
> index 28d4dc53c061..aa55c9a0a2a5 100644
> --- a/datapath/linux/compat/include/net/stt.h
> +++ b/datapath/linux/compat/include/net/stt.h
[...]
> +       err = stt_change_mtu(dev, STT_MAX_MTU);
> +       if (err)
> +               return err;

Don't we need to unregister the device on error? (I noticed this on LISP too.)



More information about the dev mailing list