]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'netem-fix-further-issues-with-packet-corruption'
authorDavid S. Miller <davem@davemloft.net>
Sat, 19 Oct 2019 19:12:36 +0000 (12:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Oct 2019 19:12:36 +0000 (12:12 -0700)
commit021c461606f2fd64ad904632bf910352c6eceac7
tree0251c77f78c0d1b52918b25f3ab5141643474db8
parent9b9ff52283215cd075950cca75d65bb585678c88
parent9918fbb5f436ee231834cc4f4dd10f30606796a0
Merge branch 'netem-fix-further-issues-with-packet-corruption'

Jakub Kicinski says:

====================
net: netem: fix further issues with packet corruption

This set is fixing two more issues with the netem packet corruption.

First patch (which was previously posted) avoids NULL pointer dereference
if the first frame gets freed due to allocation or checksum failure.
v2 improves the clarity of the code a little as requested by Cong.

Second patch ensures we don't return SUCCESS if the frame was in fact
dropped. Thanks to this commit message for patch 1 no longer needs the
"this will still break with a single-frame failure" disclaimer.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>