Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Chuck Lever and committed by
Jakub Kicinski
b21c7ba6 640bf95b

+1 -1
+1 -1
net/handshake/handshake-test.c
··· 102 102 { 103 103 .desc = "handshake_req_alloc excessive privsize", 104 104 .proto = &handshake_req_alloc_proto_6, 105 - .gfp = GFP_KERNEL, 105 + .gfp = GFP_KERNEL | __GFP_NOWARN, 106 106 .expect_success = false, 107 107 }, 108 108 {