net/iucv: fix the allocation size of iucv_path_table array
authorAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 14 Feb 2024 16:32:40 +0000 (17:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2024 09:25:09 +0000 (09:25 +0000)
commitb4ea9b6a18ebf7f9f3a7a60f82e925186978cfcf
tree024485d1362578289f5db402271c0bcc744e68af
parent4f5e5092fdbf5cec6bedc19fbe69cce4f5f08372
net/iucv: fix the allocation size of iucv_path_table array

iucv_path_table is a dynamically allocated array of pointers to
struct iucv_path items. Yet, its size is calculated as if it was
an array of struct iucv_path items.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/iucv.c