diff options
author | Mathias Kresin <dev@kresin.me> | 2021-10-23 21:14:04 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2021-11-02 22:36:41 +0100 |
commit | f7f12495bc9725e221b595680c47c4240d437abb (patch) | |
tree | 20d48567502eee6745f2a0c5e61273cebb99f3e8 /.github | |
parent | 1470009bf88ddde3c5e22ecb8e0f38d20757d6bd (diff) | |
download | upstream-f7f12495bc9725e221b595680c47c4240d437abb.tar.gz upstream-f7f12495bc9725e221b595680c47c4240d437abb.tar.bz2 upstream-f7f12495bc9725e221b595680c47c4240d437abb.zip |
kernel: 5.10: simplify logic in packet mangling patch
I had quite a hard time to understand what the change to net/core/dev.c
is supposed to do.
Simplify the change by returning NETDEV_TX_OK in case a eth_mangle_tx
callback was set but returned NULL instead of setting the return value
in the else branch.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions