Revision 9f73bd1c2c4c304b238051fc92b3f807326f0a89 authored by Parav Pandit on 11 November 2020, 03:47:44 UTC, committed by Jakub Kicinski on 12 November 2020, 16:06:57 UTC
Cited commit in fixes tag overwrites the port attributes for the
registered port.

Avoid such error by checking registered flag before setting attributes.

Fixes: 71ad8d55f8e5 ("devlink: Replace devlink_port_attrs_set parameters with a struct")
Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20201111034744.35554-1-parav@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 9e2b7fa
History
File Mode Size
Kconfig -rw-r--r-- 75.3 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 14.8 KB
do_mounts.h -rw-r--r-- 908 bytes
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_rd.c -rw-r--r-- 7.7 KB
init_task.c -rw-r--r-- 6.1 KB
initramfs.c -rw-r--r-- 13.9 KB
main.c -rw-r--r-- 37.0 KB
noinitramfs.c -rw-r--r-- 813 bytes
version.c -rw-r--r-- 1.3 KB

back to top