Skip to content
Snippets Groups Projects
Commit 4dc2a5a8 authored by Jiasheng Jiang's avatar Jiasheng Jiang Committed by Steffen Klassert
Browse files

net: af_key: add check for pfkey_broadcast in function pfkey_process


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: 1da177e4 ("Linux-2.6.12-rc2")
Signed-off-by: default avatarJiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent e6175a2e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment