diff options
| author | Stephen Hemminger <stephen@networkplumber.org> | 2026-05-09 10:03:25 -0700 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-05-14 11:41:30 +0200 |
| commit | e8be7cdedc41ff28876d66b566770929d03acbb8 (patch) | |
| tree | 2f4c97c44d47a06ed767b41138aae3db7f510bce /include/uapi | |
| parent | 675f6f1968a6710f357ac2ab65b0cf6180b8f400 (diff) | |
net/sched: netem: handle multi-segment skb in corruption
The packet corruption code only flipped bits in the linear
header portion of the skb, skipping corruption when
skb_headlen() was zero.
Linearize the whole skb if necessary before corruption.
Extends d64cb81dcbd5 ("net/sched: sch_netem: fix out-of-bounds access
in packet corruption") with a more general solution.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Link: https://patch.msgid.link/20260509171123.307549-5-stephen@networkplumber.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
