diff options
author | Ido Schimmel <[email protected]> | 2021-04-22 16:50:50 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-22 13:23:56 -0700 |
commit | a9b5d871abc417cf65a05a9ba50c6b81a6e427eb (patch) | |
tree | 7e1298192b2b6629b6ababc7ffa72d16be0853ed /scripts/gdb/vmlinux-gdb.py | |
parent | 74c97ea3b61e4ce149444f904ee8d4fc7073505b (diff) |
netdevsim: Only use sampling truncation length when valid
When the sampling truncation length is invalid (zero), pass the length
of the packet. Without the fix, no payload is reported to user space
when the truncation length is zero.
Fixes: a8700c3dd0a4 ("netdevsim: Add dummy psample implementation")
Signed-off-by: Ido Schimmel <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions