android_kernel_xiaomi_sm8350/drivers/infiniband/hw
Roland Dreier f781a22fa2 IB/mlx4: Fix reading SL field out of cqe->sl_vid
Commit f780a9f1 ("mlx4_core: Add ethernet fields to CQE struct")
introduced a bug in how wc->sl is set in mlx4_ib_poll_one() -- since
cqe->sl_vid is a big-endian value, the shift must be done after
converting to host endianness.

This bug was found using sparse endianness checking.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-12-30 15:30:26 -08:00
..
amso1100 infiniband: Kill directly reference of netdev->priv 2008-11-24 15:34:00 -08:00
cxgb3 RDMA/cxgb3: Fix deadlock in iw_cxgb3 (hang when configuring interface) 2008-11-12 10:16:47 -08:00
ehca IB/ehca: Remove redundant test of vpage 2008-12-21 13:29:13 -08:00
ipath IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
mlx4 IB/mlx4: Fix reading SL field out of cqe->sl_vid 2008-12-30 15:30:26 -08:00
mthca net: replace %p6 with %pI6 2008-10-29 12:52:50 -07:00
nes Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2008-12-28 12:49:40 -08:00