linux/drivers/infiniband/sw/rxe
Parav Pandit ffae955d49 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>
2016-10-06 13:50:04 -04:00
..
Kconfig
Makefile
rxe_av.c
rxe_comp.c IB/rxe: Fix kmem_cache leak 2016-09-16 14:14:08 -04:00
rxe_cq.c
rxe_dma.c
rxe_hdr.h
rxe_icrc.c
rxe_loc.h
rxe_mcast.c
rxe_mmap.c
rxe_mr.c
rxe_net.c IB/rxe: Fix sending out loopback packet on netdev interface. 2016-10-06 13:50:04 -04:00
rxe_net.h IB/rxe: Fix kernel panic in udp_setup_tunnel 2016-09-16 14:14:08 -04:00
rxe_opcode.c
rxe_opcode.h
rxe_param.h
rxe_pool.c
rxe_pool.h
rxe_qp.c
rxe_queue.c
rxe_queue.h
rxe_recv.c
rxe_req.c IB/rxe: Fix race condition between requester and completer 2016-09-16 14:14:08 -04:00
rxe_resp.c IB/rxe: Fix duplicate atomic request handling 2016-09-16 14:14:08 -04:00
rxe_srq.c
rxe_sysfs.c
rxe_task.c
rxe_task.h
rxe_verbs.c IB/rxe: Avoid scheduling tasklet for userspace QP 2016-10-06 13:50:04 -04:00
rxe_verbs.h
rxe.c IB/rxe: Fix kernel panic in udp_setup_tunnel 2016-09-16 14:14:08 -04:00
rxe.h