lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220208072836.3540192-1-imagedong@tencent.com>
Date:   Tue,  8 Feb 2022 15:28:34 +0800
From:   menglong8.dong@...il.com
To:     rostedt@...dmis.org, idosch@...sch.org
Cc:     mingo@...hat.com, nhorman@...driver.com, davem@...emloft.net,
        kuba@...nel.org, imagedong@...cent.com, dsahern@...nel.org,
        linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: [PATCH net-next 0/2] net: drop_monitor: support drop reason

From: Menglong Dong <imagedong@...cent.com>

This series patches is to make drop monitor supporting drop reason
and report it to user space.

In the first patch, we define the macro 'SKB_DR_MAX_LEN', which is
the max string length of drop reasons. We introduce this macro as
drop_monitor need to know the memory allocated for NET_DM_ATTR_REASON
in the second patch.

In the second patch, we report drop reasons as string to user space
in drop_monitor.


Menglong Dong (2):
  net: skb: introduce SKB_DR_MAX_LEN
  net: drop_monitor: support drop reason

 include/trace/events/skb.h       |  5 +++++
 include/uapi/linux/net_dropmon.h |  1 +
 net/core/drop_monitor.c          | 34 ++++++++++++++++++++++++++++----
 3 files changed, 36 insertions(+), 4 deletions(-)

-- 
2.27.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ