Thread (16 messages) 16 messages, 2 authors, 2024-11-06

Re: [PATCH RESEND net-next v4 8/9] net: ip: make ip_mkroute_input/__mkroute_input return drop reasons

From: Menglong Dong <hidden>
Date: 2024-11-06 11:57:21
Also in: bpf, bridge, lkml, netfilter-devel

On Tue, Nov 5, 2024 at 7:25 PM Paolo Abeni [off-list ref] wrote:
On 10/30/24 02:41, Menglong Dong wrote:
quoted
@@ -1820,7 +1822,8 @@ static int __mkroute_input(struct sk_buff *skb, const struct fib_result *res,
               */
              if (out_dev == in_dev &&
                  IN_DEV_PROXY_ARP_PVLAN(in_dev) == 0) {
-                     err = -EINVAL;
+                     /* what do we name this situation? */
+                     reason = SKB_DROP_REASON_ARP_PVLAN_DISABLE;
I don't have a better suggestion :(

Please drop the comment and re-iterate the question in the commit
message after a '---' separator, so we can merge the patch unmodified if
nobody suggests a better one.
Okay, I'll move this comment into the commit log, which
I usually place the change logs in.

Thanks!
Menglong Dong
Thanks,

Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help