mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
The "frag_info" pointer is already pointing to an array index.
Don't index twice. Sponsored by: Mellanox Technologies MFC after: 3 days
This commit is contained in:
parent
69138e8788
commit
271aa1089b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278856
@ -492,7 +492,7 @@ static int mlx4_en_complete_rx_desc(struct mlx4_en_priv *priv,
|
||||
if (nr)
|
||||
mb->m_next = mb_list[nr];
|
||||
mb = mb_list[nr];
|
||||
mb->m_len = frag_info[nr].frag_size;
|
||||
mb->m_len = frag_info->frag_size;
|
||||
dma = be64_to_cpu(rx_desc->data[nr].addr);
|
||||
|
||||
/* Allocate a replacement page */
|
||||
|
Loading…
Reference in New Issue
Block a user