Re: [PATCH bpf-next v4 0/9] net: ip: add drop reasons to input route

From: Jakub Kicinski
Date: Tue Oct 29 2024 - 20:03:55 EST


On Thu, 24 Oct 2024 17:33:39 +0800 Menglong Dong wrote:
> In this series, we mainly add some skb drop reasons to the input path of
> ip routing, and we make the following functions return drop reasons:
>
> fib_validate_source()
> ip_route_input_mc()
> ip_mc_validate_source()
> ip_route_input_slow()
> ip_route_input_rcu()
> ip_route_input_noref()
> ip_route_input()
> ip_mkroute_input()
> __mkroute_input()
> ip_route_use_hint()
>
> And following new skb drop reasons are added:
>
> SKB_DROP_REASON_IP_LOCAL_SOURCE
> SKB_DROP_REASON_IP_INVALID_SOURCE
> SKB_DROP_REASON_IP_LOCALNET
> SKB_DROP_REASON_IP_INVALID_DEST

We're "a bit" behind on patches after my vacation, so no real review
here, but please repost with net-next in the subject. The test
automation trusts the tree designation and bpf-next is no longer
based on net-next. So this doesn't apply.
--
pw-bot: cr