diff options
author | 2025-07-03 18:01:09 +0800 | |
---|---|---|
committer | 2025-07-08 08:34:05 -0700 | |
commit | 95a234f6affbf51f06338383537ab80d637bb785 (patch) | |
tree | 6c34a273d25cde72a31473c1100eb7ec8c6339d4 /tools/perf/scripts/python | |
parent | Merge branch 'allwinner-a523-rename-emac0-to-gmac0' (diff) | |
download | wireguard-linux-95a234f6affbf51f06338383537ab80d637bb785.tar.xz wireguard-linux-95a234f6affbf51f06338383537ab80d637bb785.zip |
net: ethernet: rtsn: Fix a null pointer dereference in rtsn_probe()
Add check for the return value of rcar_gen4_ptp_alloc()
to prevent potential null pointer dereference.
Fixes: b0d3969d2b4d ("net: ethernet: rtsn: Add support for Renesas Ethernet-TSN")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://patch.msgid.link/20250703100109.2541018-1-haoxiang_li2024@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions