User Details
- User Since
- May 27 2014, 9:32 AM (547 w, 1 d)
Mon, Nov 18
Sun, Nov 17
Generally LGTM, with the nit around NHF_BROADCAST
Wed, Nov 13
Tue, Nov 12
Sun, Nov 3
Fri, Nov 1
Let’s make sure that the constants /macro still has the same type as in Linux and check that, for example, net/bird2 compiles without additional warnings after this change
What about multi-fib-aware applications? For example, nginx allows to specify a specific fib for each listening socket.
Thu, Oct 31
I'm going to come up with a different version of this patch (likely using a new flag rtmsg->rtm_flags to signal RTM_F_FORCE) in a day or two. The current version allows all netlink customers to fully bypass PINNED route protection, which defeats its purpose.
Fri, Oct 25
Netlink support has been added, should not be an issue anymore
Sep 28 2024
Thank you for working on this!
Could you please add the patch with context & add a corresponding test?
Thank you!
Jul 20 2024
Ty for working on that! IIRC the idea of rib_decompose_notification was to provide the same handling for both multipath and non-multipath routes for the callers that care only about specific paths. I'd rather add the relevant callback to the rib_decompose_notification() and not touch nd6_subscription_cb code.
Mar 29 2024
Mar 6 2024
Got it. From my pov we're now requiring explicit mental effort (and knowledge) that each field now comes with a bit, and field mutations may need flag updates. Often after some time it ends up with flags not being consistent, leading to hard-to-debug errors..
I don't have a _strong_ opinion on this, so won't object to the current version - and hope there won't be 'I told you so' situation in a year :-)
Mar 5 2024
LGTM, q - would it be possible to introduce ‘ip6po_<set|clear>_<field>’ inline functions and use them so we don’t accidentally miss setting/clearing up the relevant bit?
Mar 2 2024
Feb 26 2024
I’ a bit unsure about this one - as having pointer to bool may introduce
Feb 25 2024
Feb 20 2024
Feb 11 2024
I agree we should rootcase the case. However - why do we need to perform these conditional checks everywhere?
Why can’t t_cc refer to the dummy cc structure? Why can’t the non-implemented/non-needed function point to no-op functions?
Feb 5 2024
Thank you for submitting the patch. I’m not sure I fully understand the problem and the solution.
Could you please provide some examples?
Jan 11 2024
Jan 9 2024
Thank you for updating the interface to netlink!
Generally LGTM, the only concern I have is about using sockaddrs inside netlink..
Jan 8 2024
Dec 26 2023
Thank you for adding it! It's certainly nice to have an integrated solution for PF. Conceptually I'm all up for it.
For the control path implementation I'll second Glebius concern - it's pretty ugly to build a cloner, a bunch of interfaces to allow to use (non-extendable) interface ioctls..
I'd really suggest doing gentlink family with CREATE|UPDATE/DELETE/GET interface, which will be easily extendable. It may even be less code that it is now.
Nov 14 2023
Thanks for working on the idea of improving tests parallelism!
Conceptually I like the idea of auto-jailing, but the details matter :-)
Jails deal nicely with removing some tests-running side-effects, but not all.
Filesystem “virtualization” as well as network “virtualization” has to be set up explicitly to actually provide isolation for the respective tests.
Oct 28 2023
I’d rather avoid doing that. ntohs is fast and branchless, so I’d vote for optimizing for readability here (unless there is a measurable performance gain)
Oct 19 2023
Oct 16 2023
Oct 12 2023
But we actually have it for inet/inet6 as well. I ran into the similar issues many times..
This seem a bit contrary to the approach used in the other parts of the kernel. If really want to switch the pattern, I’d ether vote for opt_proto ( or opt_global.h)
I was thinking in a similar way, having opt_proto.h which contains defines for INET, INET6 and NETLINK, so a whole variety of errors would be eliminated..
Sep 18 2023
Sep 14 2023
Sep 13 2023
Sep 4 2023
Aug 24 2023
Aug 13 2023
No objection, the only note is that ifconfig(8) code is different in stable/13, so likely it would require some changes.
Aug 3 2023
Jul 3 2023
Jul 2 2023
Overall is a really nice addition and I'd love to have it in base. I have one concern on the rule import/export implementation - happy to discuss this further & left a couple of non-critical comments on the code.
Thank you for working on this!
Jul 1 2023
Jun 29 2023
Jun 16 2023
Yep. I drafted something, but I need to think about the desired KPI a bit more, as I want to accommodate child LLE inclusion (IPv4 over IPv6 LLEs ATM). Probably I'll come up with something in the next couple of days.
Jun 15 2023
I guess it deserves some discussion on the interface model part. The alternative fix can be done on the Netlink side (try to avoid calling driver-specific ioctls on the ifarrival event) or by moving ifnet_arrival event later in the chain.
My question is what are the desired ether_ifattach() and ifnet_arrival calls/events semantics. Does the ifnet_arrival event mean "interface is fully ready" so it can be queried/updated for the caller? If not, how can the event listener get notified on the readiness?