Re: [PATCH] net: tcp_drop adds `reason` and SNMP parameters for tracing v4

From: Cong Wang
Date: Mon Sep 20 2021 - 14:17:30 EST


On Sat, Sep 4, 2021 at 7:51 PM Zhongya Yan <yan2228598786@xxxxxxxxx> wrote:
> Thanks for the tip!
> See reason:https://github.com/iovisor/bcc/issues/3533

This link only explains why TCP needs it, my question is why not
do it for other protocols too, therefore neither this link nor you
answers it.

BTW, net/core/drop_monitor.c is based on kfree_skb() tracepoint
too, in case you are only interested in tracepoints not other things.

Thanks.