Skip to contentSkip to conversation

Patch "s390/qeth: add missing hash table initializations" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message May 31, 2017

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

s390/qeth: add missing hash table initializations

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
s390-qeth-add-missing-hash-table-initializations.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Wed May 31 09:13:34 JST 2017

From: Ursula Braun <[email protected]>
Date: Wed, 10 May 2017 19:07:54 +0200
Subject: s390/qeth: add missing hash table initializations

From: Ursula Braun <[email protected]>

[ Upstream commit ebccc7397e4a49ff64c8f44a54895de9d32fe742 ]

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")
---
 drivers/s390/net/qeth_l3_main.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/s390/net/qeth_l3_main.c +2 -0
@@ -3162,6 +3162,8 @@ static int qeth_l3_probe_device(struct c
 	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;

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/s390-qeth-avoid-null-pointer-dereference-on-osn.patch queue-4.9/s390-qeth-handle-sysfs-error-during-initialization.patch queue-4.9/s390-qeth-add-missing-hash-table-initializations.patch