android_kernel_motorola_sm6375/net/key
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jiasheng Jiang 1b93631c77 net: af_key: add check for pfkey_broadcast in function pfkey_process
[ Upstream commit 4dc2a5a8f6754492180741facf2a8787f2c415d7 ]

If skb_clone() returns null pointer, pfkey_broadcast() will
return error.
Therefore, it should be better to check the return value of
pfkey_broadcast() and return error if fails.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Jiasheng Jiang <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2022-05-25 09:14:36 +02:00
..
af_key.c net: af_key: add check for pfkey_broadcast in function pfkey_process 2022-05-25 09:14:36 +02:00
Makefile