diff options
author | Ido Schimmel <idosch@mellanox.com> | 2015-12-03 14:12:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-03 19:49:23 +0300 |
commit | b03804e7c3ad41c265c0ca21ddb306b252b4f99f (patch) | |
tree | a887cd7567a12b2c87f5d9e01bacc75c461f7231 /Documentation/fault-injection | |
parent | 3b195843f59b8aefdc15c689615745bf6758756c (diff) | |
download | linux-b03804e7c3ad41c265c0ca21ddb306b252b4f99f.tar.xz |
net: Check CHANGEUPPER notifier return value
switchdev drivers reflect the newly requested topology to hardware when
CHANGEUPPER is received, after software links were already formed.
However, the operation can fail and user will not be notified, as the
return value of the notifier is not checked.
Add this check and rollback software links if necessary.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/fault-injection')
0 files changed, 0 insertions, 0 deletions