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)
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>

Trivial merge