]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: Added -ENODEV interpret for slaves option
authorJianlin Lv <Jianlin.Lv@arm.com>
Sun, 14 Mar 2021 14:56:29 +0000 (22:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2021 19:40:01 +0000 (12:40 -0700)
commit678962f3c8019be61d00c58d72ab241bd6143ada
tree5f097d2555a01bc176375c2b3346df8d32a95c6a
parent53fdb39cf941897a63725b402981de094867bcd3
bonding: Added -ENODEV interpret for slaves option

When the incorrect interface name is stored in the slaves/active_slave
option of the bonding sysfs, the kernel does not record the log that
interface does not exist.

This patch adds a log for -ENODEV error, which will facilitate users to
figure out such issue.

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_options.c