Skip to content

Commit ebccc73

Browse files
Ursula Braundavem330
authored andcommitted
s390/qeth: add missing hash table initializations
commit 5f78e29 ("qeth: optimize IP handling in rx_mode callback") added new hash tables, but missed to initialize them. Fixes: 5f78e29 ("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>
1 parent 25e2c34 commit ebccc73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/s390/net/qeth_l3_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3044,6 +3044,8 @@ static int qeth_l3_probe_device(struct ccwgroup_device *gdev)
30443044
rc = qeth_l3_create_device_attributes(&gdev->dev);
30453045
if (rc)
30463046
return rc;
3047+
hash_init(card->ip_htable);
3048+
hash_init(card->ip_mc_htable);
30473049
card->options.layer2 = 0;
30483050
card->info.hwtrap = 0;
30493051
return 0;

0 commit comments

Comments
 (0)