Message ID | 168451636052.47152.9600443326570457947.stgit@oracle-102.nfsv4bat.org (mailing list archive) |
---|---|
State | Accepted |
Commit | b21c7ba6d9a5532add3827a3b49f49cbc0cb9779 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [v2] net/handshake: Squelch allocation warning during Kunit test | expand |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>: On Fri, 19 May 2023 13:12:50 -0400 you wrote: > From: Chuck Lever <chuck.lever@oracle.com> > > 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. > > [...] Here is the summary with links: - [v2] net/handshake: Squelch allocation warning during Kunit test https://git.kernel.org/netdev/net/c/b21c7ba6d9a5 You are awesome, thank you!
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, }, {