diff options
| author | Esben Haabendal <[email protected]> | 2021-06-18 10:52:33 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-18 19:11:51 +0000 |
| commit | c364df2489b8ef2f5e3159b1dff1ff1fdb16040d (patch) | |
| tree | 0be426b319a980f12f459e269c7893c3b7c6b558 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | net: ll_temac: Add memory-barriers for TX BD access (diff) | |
| download | kernel-c364df2489b8ef2f5e3159b1dff1ff1fdb16040d.tar.gz kernel-c364df2489b8ef2f5e3159b1dff1ff1fdb16040d.zip | |
net: ll_temac: Fix TX BD buffer overwrite
Just as the initial check, we need to ensure num_frag+1 buffers available,
as that is the number of buffers we are going to use.
This fixes a buffer overflow, which might be seen during heavy network
load. Complete lockup of TEMAC was reproducible within about 10 minutes of
a particular load.
Fixes: 84823ff80f74 ("net: ll_temac: Fix race condition causing TX hang")
Cc: [email protected] # v5.4+
Signed-off-by: Esben Haabendal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
