TencentOS-kernel/include/trace
Menglong Dong 4ad7c174b5 net: ip: add skb drop reasons to ip forwarding
[upstream commit 2edc1a383fda8d2f580216292dfd9daeae691e47]

Replace kfree_skb() which is used in ip6_forward() and ip_forward()
with kfree_skb_reason().

The new drop reason 'SKB_DROP_REASON_PKT_TOO_BIG' is introduced for
the case that the length of the packet exceeds MTU and can't
fragment.

Signed-off-by: Menglong Dong <imagedong@tencent.com>
Reviewed-by: Jiang Biao <benbjiang@tencent.com>
Reviewed-by: Hao Peng <flyingpeng@tencent.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-06-17 10:08:52 +08:00
..
events net: ip: add skb drop reasons to ip forwarding 2022-06-17 10:08:52 +08:00
bpf_probe.h bpf: Add typecast to raw_tracepoints to help BTF generation 2021-03-16 16:43:58 +08:00
define_trace.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
perf.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
syscall.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
trace_events.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00