diff options
author | Maor Gottlieb <[email protected]> | 2016-10-27 16:27:14 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-10-29 16:23:48 -0400 |
commit | 33a1f8b196dca933313c001866c4df3f3ca11f78 (patch) | |
tree | 480a21a8941bb17a9a766bc4c57f4fe80be9370f /net/unix/sysctl_net_unix.c | |
parent | aa0c08feae8161b945520ada753d0dfe62b14fe7 (diff) |
net/mlx4_core: Avoid setting ports to auto when only one port type is supported
When only one port type is supported, it should be read only.
We reject changing requests, even to the auto sense mode.
Fixes: 27bf91d6a0d5 ("mlx4_core: Add link type autosensing")
Signed-off-by: Maor Gottlieb <[email protected]>
Signed-off-by: Moshe Shemesh <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions