diff options
| author | 2018-05-25 21:53:25 -0700 | |
|---|---|---|
| committer | 2018-05-29 09:49:15 -0400 | |
| commit | 6fd1cfc0f0a5fec92cce8a5c3fbfd7fd82b82160 (patch) | |
| tree | 7fef6471f5fd2e4941ad52873a62ad84b3eccee2 /include/uapi/linux/capability.h | |
| parent | Merge tag 'mlx5e-updates-2018-05-25' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff) | |
nfp: return -EOPNOTSUPP from .ndo_get_phys_port_name for VFs
After recent change we started returning 0 from
ndo_get_phys_port_name for VFs. The name parameter for
ndo_get_phys_port_name is not initialized by the stack so
this can lead to a crash. We should have kept returning
-EOPNOTSUPP in the first place.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/capability.h')
0 files changed, 0 insertions, 0 deletions
