summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorPrzemek Kitszel <przemyslaw.kitszel@intel.com>2024-10-23 15:09:04 +0200
committerJakub Kicinski <kuba@kernel.org>2024-10-29 16:52:57 -0700
commit72429e9e0cfb1bd7480a968d741edf787c134f06 (patch)
treec939443ead4d5b42884ca2e401756c72a6bd64f8 /net/lapb/lapb_iface.c
parente0b140c44f322230c2bb97a7e8ac773419f7e81a (diff)
devlink: region: snapshot IDs: consolidate error values
Consolidate error codes for too big message size. Current code is written to return -EINVAL when tailroom in the skb msg would be exhausted precisely when it's time to nest, and return -EMSGSIZE in all other "not enough space" conditions. Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Joe Damato <jdamato@fastly.com> Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Link: https://patch.msgid.link/20241023131248.27192-5-przemyslaw.kitszel@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions