Skip to content
Commit 810d8ced authored by Vincenzo Maffione's avatar Vincenzo Maffione Committed by David S. Miller
Browse files

drivers: net: xen-netfront: fix array initialization bug



This patch fixes the initialization of an array used in the TX
datapath that was mistakenly initialized together with the
RX datapath arrays. An out of range array access could happen
when RX and TX rings had different sizes.

Signed-off-by: default avatarVincenzo Maffione <v.maffione@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dcfba949
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment