diff options
author | 2022-05-17 17:42:31 +0800 | |
---|---|---|
committer | 2022-05-18 09:23:54 +0200 | |
commit | 4dc2a5a8f6754492180741facf2a8787f2c415d7 (patch) | |
tree | b2a50cb788a872e1854f12e8d03ae0ca629be62f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfrm: fix "disable_policy" flag use when arriving from different devices (diff) | |
download | linux-dev-4dc2a5a8f6754492180741facf2a8787f2c415d7.tar.xz linux-dev-4dc2a5a8f6754492180741facf2a8787f2c415d7.zip |
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: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions