diff options
author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2021-06-15 22:42:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-23 14:41:26 +0200 |
commit | 217395c5ab15e92a4fd84fe77fab6b0b1bb4e456 (patch) | |
tree | 56d12d13c9366e0b6621f31f0c6017b64268f949 /net/unix/af_unix.c | |
parent | 5f7acbf602d8fdbec1d31b52a5db7000ed0ef854 (diff) |
lantiq: net: fix duplicated skb in rx descriptor ring
[ Upstream commit 7ea6cd16f1599c1eac6018751eadbc5fc736b99a ]
The previous commit didn't fix the bug properly. By mistake, it replaces
the pointer of the next skb in the descriptor ring instead of the current
one. As a result, the two descriptors are assigned the same SKB. The error
is seen during the iperf test when skb_put tries to insert a second packet
and exceeds the available buffer.
Fixes: c7718ee96dbc ("net: lantiq: fix memory corruption in RX ring ")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions