From: David S. Miller Date: Mon, 16 Sep 2019 19:39:27 +0000 (+0200) Subject: Merge branch 'drop_monitor-Better-sanitize-notified-packets' X-Git-Tag: v5.4-rc1~131^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f432c2e30461cfdfde5ee74ad62d9684016f3623;p=thirdparty%2Fkernel%2Fstable.git 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 --- f432c2e30461cfdfde5ee74ad62d9684016f3623