diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-07-10 19:48:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-11 21:29:55 -0700 |
commit | 2ee94014d9bd3868b1c0d17405f96d63bec83f28 (patch) | |
tree | c3de5eb5e5eac625aab00c7bb23b885b6b6eb244 /drivers/net/can | |
parent | c590032f9ab8d03aab235a7601db22a267c2d958 (diff) | |
download | linux-stable-2ee94014d9bd3868b1c0d17405f96d63bec83f28.tar.gz linux-stable-2ee94014d9bd3868b1c0d17405f96d63bec83f28.tar.bz2 linux-stable-2ee94014d9bd3868b1c0d17405f96d63bec83f28.zip |
net: switchdev: don't abort unsupported operations
There is no need to abort attribute setting or object addition, if the
prepare phase returned operation not supported.
Thus, abort these two transactions only if the error is not -EOPNOTSUPP.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions