diff options
author | 2019-09-15 09:46:36 +0300 | |
---|---|---|
committer | 2019-09-16 21:39:27 +0200 | |
commit | bef17466811b9f559d1dba3ebbfbd01a880c89a2 (patch) | |
tree | db3d398fe5737b425daebfbf7cccb46117cc3bec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netdevsim: Set offsets to various protocol layers (diff) | |
download | linux-dev-bef17466811b9f559d1dba3ebbfbd01a880c89a2.tar.xz linux-dev-bef17466811b9f559d1dba3ebbfbd01a880c89a2.zip |
drop_monitor: Better sanitize notified packets
When working in 'packet' mode, drop monitor generates a notification
with a potentially truncated payload of the dropped packet. The payload
is copied from the MAC header, but I forgot to check that the MAC header
was set, so do it now.
Fixes: ca30707dee2b ("drop_monitor: Add packet alert mode")
Fixes: 5e58109b1ea4 ("drop_monitor: Add support for packet alert mode for hardware drops")
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions