projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25e2c34
)
s390/qeth: add missing hash table initializations
author
Ursula Braun
<
[email protected]
>
Wed, 10 May 2017 17:07:54 +0000
(19:07 +0200)
committer
David S. Miller
<
[email protected]
>
Thu, 11 May 2017 16:37:48 +0000
(12:37 -0400)
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 <
[email protected]
>
Reviewed-by: Julian Wiedmann <
[email protected]
>
Signed-off-by: Julian Wiedmann <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/s390/net/qeth_l3_main.c
patch
|
blob
|
history
diff --git
a/drivers/s390/net/qeth_l3_main.c
b/drivers/s390/net/qeth_l3_main.c
index 6c2146fc831aa08c9f8a42104a050ba34d7f9bd6..d8df1e6351636250ea534cf17527c8fb198435f2 100644
(file)
--- 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;