diff options
author | Ursula Braun <ubraun@linux.ibm.com> | 2019-10-09 10:07:43 +0200 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-10-10 04:45:44 +0200 |
commit | a2351c5d86d7acf8eef17fba4ac1fc5b305a37c0 (patch) | |
tree | d4c18665dfe7307bba2a462c171a15bf4d67aa55 /net/smc/smc_ism.c | |
parent | net: stmmac: dwmac-mediatek: fix wrong delay value issue when resume back (diff) | |
download | linux-a2351c5d86d7acf8eef17fba4ac1fc5b305a37c0.tar.xz linux-a2351c5d86d7acf8eef17fba4ac1fc5b305a37c0.zip |
net/smc: separate SMCD and SMCR link group lists
Currently SMCD and SMCR link groups are maintained in one list.
To facilitate abnormal termination handling they are split into
a separate list for SMCR link groups and separate lists for SMCD
link groups per SMCD device.
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>
Diffstat (limited to 'net/smc/smc_ism.c')
-rw-r--r-- | net/smc/smc_ism.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/smc/smc_ism.c b/net/smc/smc_ism.c index e89e918b88e0..674eb5ae2320 100644 --- a/net/smc/smc_ism.c +++ b/net/smc/smc_ism.c @@ -287,6 +287,7 @@ struct smcd_dev *smcd_alloc_dev(struct device *parent, const char *name, spin_lock_init(&smcd->lock); INIT_LIST_HEAD(&smcd->vlan); + INIT_LIST_HEAD(&smcd->lgr_list); smcd->event_wq = alloc_ordered_workqueue("ism_evt_wq-%s)", WQ_MEM_RECLAIM, name); if (!smcd->event_wq) { |