]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - net/core/devlink.c
devlink: allow to fillup eswitch attrs even if mode_get op does not exist
authorJiri Pirko <jiri@mellanox.com>
Thu, 9 Feb 2017 14:54:36 +0000 (15:54 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Tue, 28 Mar 2017 20:17:54 +0000 (14:17 -0600)
commita4beb2aa4dd7d0ae2812cc0d47744a714570857e
tree9a21f2e77925f42dd630da3be323243551cefc39
parent67b1787a95f1a35f3d6f0023115ebfcd0d7a1e22
devlink: allow to fillup eswitch attrs even if mode_get op does not exist

BugLink: http://bugs.launchpad.net/bugs/1676388
Even when mode_get op is not present, other eswitch attrs need to be
filled-up.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 4456f61cfd2a589c4368fe0b9080b646b9bd470d)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
net/core/devlink.c