diff options
author | David S. Miller <davem@davemloft.net> | 2019-09-16 22:39:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-16 22:39:27 +0300 |
commit | f432c2e30461cfdfde5ee74ad62d9684016f3623 (patch) | |
tree | db3d398fe5737b425daebfbf7cccb46117cc3bec /net/ax25/ax25_uid.c | |
parent | db539cae12a3456cc710855b345542ccd2946e25 (diff) | |
parent | bef17466811b9f559d1dba3ebbfbd01a880c89a2 (diff) | |
download | linux-f432c2e30461cfdfde5ee74ad62d9684016f3623.tar.xz |
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25/ax25_uid.c')
0 files changed, 0 insertions, 0 deletions