fix: net: socket: rename SKB_DROP_REASON_SOCKET_FILTER (v5.17)
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 31 Jan 2022 15:47:53 +0000 (10:47 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 31 Jan 2022 16:19:42 +0000 (11:19 -0500)
No version check needed since this change is between two RCs, see
upstream commit :

  commit 364df53c081d93fcfd6b91085ff2650c7f17b3c7
  Author: Menglong Dong <imagedong@tencent.com>
  Date:   Thu Jan 27 17:13:01 2022 +0800

    net: socket: rename SKB_DROP_REASON_SOCKET_FILTER

    Rename SKB_DROP_REASON_SOCKET_FILTER, which is used
    as the reason of skb drop out of socket filter before
    it's part of a released kernel. It will be used for
    more protocols than just TCP in future series.

Link: https://lore.kernel.org/all/20220127091308.91401-2-imagedong@tencent.com/
Change-Id: I666461a5b541fe9e0bf53ad996ce33237af4bfbb
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/skb.h

index 86729dae3db7510a9806eb4aab43d01c4a8a765f..00495e75a8e6b52b1e9185d0f12b5f5ace6b515b 100644 (file)
@@ -20,7 +20,7 @@ LTTNG_TRACEPOINT_ENUM(skb_drop_reason,
                ctf_enum_value("NO_SOCKET",     SKB_DROP_REASON_NO_SOCKET)
                ctf_enum_value("PKT_TOO_SMALL", SKB_DROP_REASON_PKT_TOO_SMALL)
                ctf_enum_value("TCP_CSUM",      SKB_DROP_REASON_TCP_CSUM)
-               ctf_enum_value("TCP_FILTER",    SKB_DROP_REASON_TCP_FILTER)
+               ctf_enum_value("SOCKET_FILTER", SKB_DROP_REASON_SOCKET_FILTER)
                ctf_enum_value("UDP_CSUM",      SKB_DROP_REASON_UDP_CSUM)
                ctf_enum_value("MAX",           SKB_DROP_REASON_MAX)
        )
This page took 0.044242 seconds and 4 git commands to generate.