aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe.c
diff options
context:
space:
mode:
authorParav Pandit <pandit.parav@gmail.com>2016-09-28 20:24:42 +0000
committerDoug Ledford <dledford@redhat.com>2016-10-06 13:50:04 -0400
commitffae955d49e6cff28589d6e7388bb9275f9ce2d1 (patch)
tree505f762e5e0c7edb32f461fac5cac6a75b4905a6 /drivers/infiniband/sw/rxe/rxe.c
parentIB/rxe: Avoid scheduling tasklet for userspace QP (diff)
downloadlinux-dev-ffae955d49e6cff28589d6e7388bb9275f9ce2d1.tar.xz
linux-dev-ffae955d49e6cff28589d6e7388bb9275f9ce2d1.zip
IB/rxe: Fix sending out loopback packet on netdev interface.
Both prepare4 and prepare6 sets loopback mask in pkt_info structure instance of skb. The xmit_packet and other requester side functions use a pkt_info struct from the stack without the proper mask. This results in sending out the packet to the actual netdev device and loopback functionality is broken. Modify prepare() to pass its correctly marked pkt_info struct to prepare4() and prepare6() instead of them using SKB_TO_PKT(skb) and getting an incorrectly set mask. Verified with perftest applications. Signed-off-by: Parav Pandit <pandit.parav@gmail.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe.c')
0 files changed, 0 insertions, 0 deletions