aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-08-25 13:17:19 +0000
committerJakub Kicinski <[email protected]>2022-08-27 02:47:36 +0000
commit931d0a8b201a46aedb7767087438ea9e4467b6cd (patch)
treea41511abf63f7e3dea1a30904fec2d81afdc813c /net/tipc
parentMerge branch 'openvswitch-allow-specifying-ifindex-of-new-interfaces' (diff)
downloadkernel-931d0a8b201a46aedb7767087438ea9e4467b6cd.tar.gz
kernel-931d0a8b201a46aedb7767087438ea9e4467b6cd.zip
net: fman: memac: Uninitialized variable on error path
The "fixed_link" is only allocated sometimes but it's freed unconditionally in the error handling. Set it to NULL so we don't free uninitialized data. Fixes: 9ea4742a55ca ("net: fman: Configure fixed link in memac_initialization") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Sean Anderson <[email protected]> Link: https://lore.kernel.org/r/Ywd2X6gdKmTfYBxD@kili Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions