From: Ido Schimmel <[email protected]> This patchset performs various improvements and cleanups in drop monitor with no functional changes intended. There are no changes in these patches relative to the RFC I sent two weeks ago [1].
A followup patchset will extend drop monitor with a packet alert mode in which the dropped packet is notified to user space instead of just a summary of recent drops. Subsequent patchsets will add the ability to monitor hardware originated drops via drop monitor. [1] https://patchwork.ozlabs.org/cover/1135226/ Ido Schimmel (6): drop_monitor: Use correct error code drop_monitor: Rename and document scope of mutex drop_monitor: Document scope of spinlock drop_monitor: Avoid multiple blank lines drop_monitor: Add extack support drop_monitor: Use pre_doit / post_doit hooks net/core/drop_monitor.c | 58 +++++++++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 20 deletions(-) -- 2.21.0
