Re: [PATCH net-next] octeontx2-af: Copy the right amount of memory

2018-10-24 Thread David Miller
From: Dan Carpenter Date: Wed, 24 Oct 2018 11:32:21 +0300 > This is a copy and paste bug where we copied the sizeof() from the chunk > before. We're copying more data than intended but the destination is a > union so it doesn't cause memory corruption. > > Fixes: ffb0abd7e9cb ("octeontx2-af: NI

[PATCH net-next] octeontx2-af: Copy the right amount of memory

2018-10-24 Thread Dan Carpenter
This is a copy and paste bug where we copied the sizeof() from the chunk before. We're copying more data than intended but the destination is a union so it doesn't cause memory corruption. Fixes: ffb0abd7e9cb ("octeontx2-af: NIX AQ instruction enqueue support") Signed-off-by: Dan Carpenter ---