summaryrefslogtreecommitdiff
path: root/include/uapi/linux/usb
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2015-07-22 16:53:47 +0300
committerLuis Henriques <luis.henriques@canonical.com>2015-08-25 10:13:51 +0100
commitac6f365c71dff26c3b223d38ba08655904a8b3b8 (patch)
treecc39c7c60dc2b91cf7d68f1acc91c39611815df7 /include/uapi/linux/usb
parent93d23958401d12ed6132b3d08ef1697f01e75976 (diff)
net/mlx4_core: Fix wrong index in propagating port change event to VFs
commit 1c1bf34951e8d17941bf708d1901c47e81b15d55 upstream. The port-change event processing in procedure mlx4_eq_int() uses "slave" as the vf_oper array index. Since the value of "slave" is the PF function index, the result is that the PF link state is used for deciding to propagate the event for all the VFs. The VF link state should be used, so the VF function index should be used here. Fixes: 948e306d7d64 ('net/mlx4: Add VF link state support') Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> 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> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/uapi/linux/usb')
0 files changed, 0 insertions, 0 deletions