net/smc: fix SMCD link group creation with VLAN id
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 10 Oct 2019 08:16:09 +0000 (10:16 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 11 Oct 2019 02:08:41 +0000 (19:08 -0700)
commit29ee2701529e1905c0e948688f9688c68c8d4ea4
treeb493cb1a56ab3459792bb0d51e1a080c05427730
parent2168da4594040529f6a6cb413c22668a4402f83c
net/smc: fix SMCD link group creation with VLAN id

If creation of an SMCD link group with VLAN id fails, the initial
smc_ism_get_vlan() step has to be reverted as well.

Fixes: c6ba7c9ba43d ("net/smc: add base infrastructure for SMC-D and ISM")
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
net/smc/smc_core.c