microsoft / microsoft/retina

feat: enhance drop reason by using free_skb_reason()

Open
#367 2 comments 0 reactions 1 assignee Claimed by @rectified95 View on GitHub
area/ebpf area/plugins lang/c priority/1 type/enhancement
Dominant language
Go
Stars
3.2k
Forks
304
Avg merge
1d 16h
Merged PRs (30d)
79

Description

Linux kernel 5.17 includes a new function call [free_skb_reason](https://lwn.net/Articles/885729/) to provide better visibility into why a packet was dropped in the n/w stack. Here are all the drop reasons added - https://elixir.bootlin.com/linux/v5.15.158/source/include/linux/skbuff.h#L314 .

Use the new kernel function to enhance our drop reason plugin to be more verbose and accurate.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.