diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-05-19 19:12:50 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-23 04:24:52 +0200 |
commit | b21c7ba6d9a5532add3827a3b49f49cbc0cb9779 (patch) | |
tree | eb6e639a3b7eadcaa335a9fbc0a97a62d9e5870e /net | |
parent | 3c589_cs: Fix an error handling path in tc589_probe() (diff) | |
download | linux-b21c7ba6d9a5532add3827a3b49f49cbc0cb9779.tar.xz linux-b21c7ba6d9a5532add3827a3b49f49cbc0cb9779.zip |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/handshake/handshake-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/handshake/handshake-test.c b/net/handshake/handshake-test.c index e6adc5dec11a..6193e46ee6d9 100644 --- a/net/handshake/handshake-test.c +++ b/net/handshake/handshake-test.c @@ -102,7 +102,7 @@ struct handshake_req_alloc_test_param handshake_req_alloc_params[] = { { .desc = "handshake_req_alloc excessive privsize", .proto = &handshake_req_alloc_proto_6, - .gfp = GFP_KERNEL, + .gfp = GFP_KERNEL | __GFP_NOWARN, .expect_success = false, }, { |