diff options
author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2021-06-15 22:42:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-15 14:17:19 -0700 |
commit | 7ea6cd16f1599c1eac6018751eadbc5fc736b99a (patch) | |
tree | 45325f3393b8edead592ea30119c475be3c3daa2 /net/wireless/radiotap.c | |
parent | 057d49334c02a79af81c30a8d240e641bd6f1741 (diff) | |
download | linux-7ea6cd16f1599c1eac6018751eadbc5fc736b99a.tar.bz2 |
lantiq: net: fix duplicated skb in rx descriptor ring
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>
Diffstat (limited to 'net/wireless/radiotap.c')
0 files changed, 0 insertions, 0 deletions