Skip to content
Commit f432c2e3 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'drop_monitor-Better-sanitize-notified-packets'



Ido Schimmel says:

====================
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.

Patch #1 sets the offsets to the various protocol layers in netdevsim,
so that it will continue to work after the MAC header check is added to
drop monitor in patch #2.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents db539cae bef17466
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment