diff options
author | Somnath Kotur <somnath.kotur@broadcom.com> | 2016-09-07 19:57:51 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-07 22:44:55 -0700 |
commit | 62259ac4b36e348077635e673f253cc139dd6032 (patch) | |
tree | f46be814ea3986b41a9cdfd37747512c61859f9c /security/device_cgroup.c | |
parent | f72099e057c0b3ea3cfd16301cff9202c4db8ef4 (diff) | |
download | linux-62259ac4b36e348077635e673f253cc139dd6032.tar.bz2 |
be2net: Add privilege level check for OPCODE_COMMON_GET_EXT_FAT_CAPABILITIES SLI cmd.
Driver issues OPCODE_COMMON_GET_EXT_FAT_CAPABILITIES cmd during init which
when issued by VFs results in the logging of a cmd failure message since
they don't have the required privilege for this cmd. Fix by checking
privilege before issuing the cmd.
Also fixed typo in CAPABILITIES.
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/device_cgroup.c')
0 files changed, 0 insertions, 0 deletions