Skip to content
Commit 973507cb authored by roel kluin's avatar roel kluin Committed by David S. Miller
Browse files

mlx4_en: Fix read buffer overflow in mlx4_en_complete_rx_desc()



If the length is less or equal to frag_prefix_size in the first iteration
we write skb_frags_rx[-1] and read from priv->frag_info[-1]

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent be12159b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment