]> 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)
commitf53e71cbe498d1b77efdb6a9186503f74b05363a
tree0251c77f78c0d1b52918b25f3ab5141643474db8
parent4d5648c4654b7b99d0913090ca3db1ab6f62c721
parentb7db0a90b36e1940d384312abd7f2e98c9380694
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>