net/handshake: Squelch allocation warning during Kunit test
authorChuck Lever <chuck.lever@oracle.com>
Fri, 19 May 2023 17:12:50 +0000 (13:12 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 23 May 2023 02:24:52 +0000 (19:24 -0700)
commitb21c7ba6d9a5532add3827a3b49f49cbc0cb9779
treeeb6e639a3b7eadcaa335a9fbc0a97a62d9e5870e
parent640bf95b2c7c2981fb471acdafbd3e0458f8390d
net/handshake: Squelch allocation warning during Kunit test

The "handshake_req_alloc excessive privsize" kunit test is intended
to check what happens when the maximum privsize is exceeded. The
WARN_ON_ONCE_GFP at mm/page_alloc.c:4744 can be disabled safely for
this test.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Fixes: 88232ec1ec5e ("net/handshake: Add Kunit tests for the handshake consumer API")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Link: https://lore.kernel.org/r/168451636052.47152.9600443326570457947.stgit@oracle-102.nfsv4bat.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/handshake/handshake-test.c