diff options
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | 2017-05-10 19:07:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-11 12:37:48 -0400 |
commit | ebccc7397e4a49ff64c8f44a54895de9d32fe742 (patch) | |
tree | e06c95832b2e92a45779ccde7899eff31276a86c | |
parent | 25e2c341e7818a394da9abc403716278ee646014 (diff) | |
download | linux-stable-ebccc7397e4a49ff64c8f44a54895de9d32fe742.tar.gz linux-stable-ebccc7397e4a49ff64c8f44a54895de9d32fe742.tar.bz2 linux-stable-ebccc7397e4a49ff64c8f44a54895de9d32fe742.zip |
s390/qeth: add missing hash table initializations
commit 5f78e29ceebf ("qeth: optimize IP handling in rx_mode callback")
added new hash tables, but missed to initialize them.
Fixes: 5f78e29ceebf ("qeth: optimize IP handling in rx_mode callback")
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reviewed-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index 6c2146fc831a..d8df1e635163 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c @@ -3044,6 +3044,8 @@ static int qeth_l3_probe_device(struct ccwgroup_device *gdev) rc = qeth_l3_create_device_attributes(&gdev->dev); if (rc) return rc; + hash_init(card->ip_htable); + hash_init(card->ip_mc_htable); card->options.layer2 = 0; card->info.hwtrap = 0; return 0; |