Home
last modified time | relevance | path

Searched refs:new_vlan (Results 1 – 1 of 1) sorted by relevance

/net/smc/
Dsmc_ism.c90 struct smc_ism_vlanid *new_vlan, *vlan; in smc_ism_get_vlan() local
98 new_vlan = kzalloc(sizeof(*new_vlan), GFP_KERNEL); in smc_ism_get_vlan()
99 if (!new_vlan) in smc_ism_get_vlan()
101 new_vlan->vlanid = vlanid; in smc_ism_get_vlan()
102 refcount_set(&new_vlan->refcnt, 1); in smc_ism_get_vlan()
109 kfree(new_vlan); in smc_ism_get_vlan()
118 kfree(new_vlan); in smc_ism_get_vlan()
122 list_add_tail(&new_vlan->list, &smcd->vlan); in smc_ism_get_vlan()