[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180119.151044.1539358362529859793.davem@davemloft.net>
Date: Fri, 19 Jan 2018 15:10:44 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: lorenzo.bianconi@...hat.com
Cc: netdev@...r.kernel.org, jchapman@...alix.com, g.nault@...halink.fr
Subject: Re: [PATCH net-next] l2tp: remove switch block in
l2tp_nl_cmd_session_create()
From: Lorenzo Bianconi <lorenzo.bianconi@...hat.com>
Date: Wed, 17 Jan 2018 11:41:20 +0100
> Remove the switch block in l2tp_nl_cmd_session_create() that
> checks pseudowire-specific parameters since just L2TP_PWTYPE_ETH and
> L2TP_PWTYPE_PPP are currently supported and no actual checks are
> performed. Moreover the L2TP_PWTYPE_IP/default case presents a harmless
> issue in error handling (break instead of goto out_tunnel)
>
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@...hat.com>
Applied, thanks.
Powered by blists - more mailing lists