xfrm/compat: Don't allocate memory with __GFP_ZERO
authorDmitry Safonov <dima@arista.com>
Mon, 2 Nov 2020 16:14:47 +0000 (16:14 +0000)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 9 Nov 2020 06:34:56 +0000 (07:34 +0100)
commitad37f77fd3659e87fd9833a83692e0e4eba0f5cd
treeb8a2bf1fdcaa7ef782836f08ed548727d8b65d70
parentd1949d045fd67eab8a32a579a8c1ab1681330854
xfrm/compat: Don't allocate memory with __GFP_ZERO

32-bit to 64-bit messages translator zerofies needed paddings in the
translation, the rest is the actual payload.
Don't allocate zero pages as they are not needed.

Fixes: 5106f4a8acff ("xfrm/compat: Add 32=>64-bit messages translator")
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_compat.c