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)
commit708738376cadba3ed6cf635a13694951d96a6936
tree0251c77f78c0d1b52918b25f3ab5141643474db8
parentbd310aca442fcc72731b7acb65d32d05c956d56b
parente0ad032e144731a5928f2d75e91c2064ba1a764c
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>