e
transmitting packets over second connection in eth_memif_tx function
it refer "mq->in_port" which is always zero, which leads to data
transmission always in 0th port.
To mitigate the issue,"mq->in_port" is initialized with
"dev->data->port_id" in memif_tx_
ort_id" in memif_msg_enq_add_ring() and
memif_msg_receive_add_ring() functions.
Signed-off-by: Anand Sunkad
---
drivers/net/memif/memif_socket.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/memif/memif_socket.c b/drivers/net/memif/memif_socket.c
index 0c71f6c..ef8c50
2 matches
Mail list logo