]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: fix race when initializing the IP address table
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 18 Mar 2019 15:40:55 +0000 (16:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2019 01:34:45 +0000 (18:34 -0700)
commit02e55597808bb67d6bcf96dc7d8231efc1eac2bd
tree33f18abdfc74efae677d1135b4e0860ad06cfcae
parent9f6f7291b6c7ec2d3808ac8a1c73a61b91cb59ca
s390/qeth: fix race when initializing the IP address table

The ucast IP table is utilized by some of the L3-specific sysfs attributes
that qeth_l3_create_device_attributes() provides. So initialize the table
_before_ registering the attributes.

Fixes: 3e4e229af5a4 ("s390/qeth: add missing hash table initializations")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_main.c