diff options
author | 2020-10-26 11:00:59 +0300 | |
---|---|---|
committer | 2020-10-27 17:05:57 -0700 | |
commit | 6c211809c87f0de939f3bd60ceec05338ae6eba1 (patch) | |
tree | 74ec3fba521f61e9a817df4691ee2f62cc28bc15 /lib/mpi/mpiutil.c | |
parent | chelsio/chtls: fix memory leaks in CPL handlers (diff) | |
download | wireguard-linux-6c211809c87f0de939f3bd60ceec05338ae6eba1.tar.xz wireguard-linux-6c211809c87f0de939f3bd60ceec05338ae6eba1.zip |
devlink: Fix some error codes
These paths don't set the error codes. It's especially important in
devlink_nl_region_notify_build() where it leads to a NULL dereference in
the caller.
Fixes: 544e7c33ec2f ("net: devlink: Add support for port regions")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20201026080059.GA1628785@mwanda
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions