compat: avoid usage of kvzalloc() in rhashtable.c
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 21 Aug 2017 22:28:08 +0000 (00:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 8 Sep 2017 13:23:13 +0000 (15:23 +0200)
commitb402f77b918087f7113873a91236d5a6868a5aba
treec9c8b43c3605da13bd2552740d8b96e66d8a27f3
parent7c827d5ac9c18d9c069af3b4a7f820a69c23da3d
compat: avoid usage of kvzalloc() in rhashtable.c

This reverts commit 12e8fd6fd3802 ("lib/rhashtable.c: use kvzalloc() in
bucket_table_alloc() when possible") from upstream kernel.
Kernel versions older that 4.12 do not have kvzalloc() try to avoid the
usage of this.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
patches/lib-rhashtable.patch