diff options
author | Matan Barak | 2014-09-10 16:41:55 +0300 |
---|---|---|
committer | David S. Miller | 2014-09-10 15:21:34 -0700 |
commit | b7834758e6f33da401f584035f1b6b62d0672aab (patch) | |
tree | dab363af1a4d20eb424b80e05f0028ada65e3dbe /mm/gup.c | |
parent | 311be98a3cca6469adf369714d689f9bbf286190 (diff) |
net/mlx4: Avoid dealing with MAC index in UPDATE_QP wrapper if not needed
The current wrapper implementation of the UPDATE_QP command tries to get
the MAC index, even if MAC wasn't set by the VF. Fix it up to only handle
the MAC field if it's valid.
Fixes: ce8d9e0 ('net/mlx4_core: Add UPDATE_QP SRIOV wrapper support')
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions