aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKory Maincent <kory.maincent@bootlin.com>2024-07-11 15:55:19 +0200
committerJakub Kicinski <kuba@kernel.org>2024-07-14 07:16:18 -0700
commit4cddb0f15ea9c62f81b4889ea69a99368cc63a86 (patch)
treeaf0f2c5ccbe2c5e5dde3a9b4479939079c95f3d0 /tools/perf/scripts/python/export-to-sqlite.py
parent93c3a96c301f0b1ac0bafb5e74bef58e79937648 (diff)
net: ethtool: pse-pd: Fix possible null-deref
Fix a possible null dereference when a PSE supports both c33 and PoDL, but only one of the netlink attributes is specified. The c33 or PoDL PSE capabilities are already validated in the ethnl_set_pse_validate() call. Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Reported-by: Jakub Kicinski <kuba@kernel.org> Closes: https://lore.kernel.org/netdev/20240705184116.13d8235a@kernel.org/ Fixes: 4d18e3ddf427 ("net: ethtool: pse-pd: Expand pse commands with the PSE PoE interface") Link: https://patch.msgid.link/20240711-fix_pse_pd_deref-v3-2-edd78fc4fe42@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions