diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-10-26 11:00:59 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-27 17:05:57 -0700 |
commit | 6c211809c87f0de939f3bd60ceec05338ae6eba1 (patch) | |
tree | 74ec3fba521f61e9a817df4691ee2f62cc28bc15 /net/xdp | |
parent | 6daa1da4e262b0cd52ef0acc1989ff22b5540264 (diff) |
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 'net/xdp')
0 files changed, 0 insertions, 0 deletions