Re: [PATCH v3 3/4] ipq40xx: fix compatibility with linux-atm tools

2025-01-13 Thread Andre Heider
On 13/01/2025 9:17 am, Martin Schiller wrote: On 2025-01-12 15:09, Sergey Ryazanov wrote: atm_qos struct should be the same both for user and kernel spaces. Via the __SO_ENCODE() macro it is used to define the SO_ATMQOS socket IOC. During the VRX518 support introduction, the atm_trafprm sturct

Re: [PATCH 1/2] kernel: netdevices: Create Realtek DSA switch packages

2025-01-13 Thread Linus Walleij
Hi Hiroshi, On Mon, Jan 13, 2025 at 4:47 AM INAGAKI Hiroshi wrote: > > +define KernelPackage/dsa-rtl8366rb/description > > Isn't this "KernelPackage/dsa-realtek-smi/description" ? Indeed, thanks for spotting this! I'll send a v2. Yours, Linus Walleij __

[PATCH v2 1/2] kernel: netdevices: Create Realtek DSA switch packages

2025-01-13 Thread Linus Walleij
This adds kernel packages for the Realtek RTL836x switches. My intended usage is for RTL8366RB, but let's package RTL8365MB while we are at it. I did not create separate packages for the two switches, as it complicates things. I have split the switches into MDIO and SMI subvariants as this is how

[PATCH v2 0/2] gemini: Convert the DSA switches into a module packages

2025-01-13 Thread Linus Walleij
Not all Gemini platforms are using a DSA switch, so by converting the switches into packages and just selecting that package for the one device needing it we save a lot of space (600KB+) on all other devices. Signed-off-by: Linus Walleij --- Changes in v2: - Fix typo in one subpackage description

[PATCH v2 2/2] gemini: Convert to use module for Realtek switch

2025-01-13 Thread Linus Walleij
Only the DIR-685 uses a Realtek DSA switch currently so convert this platform to load it from a module and save memory on all other devices. At the same time drop the rt2800 PCI package that this device actually isn't using, it needs an out-of-tree wireless driver. Signed-off-by: Linus Walleij -

Re: [PATCH] fw4: add masquerade-prefix snat type

2025-01-13 Thread Jonas Lochmann
On Sun, Jan 12, 2025 at 10:17:01PM -0500, Michael Richardson wrote: > > Hi, I understand the that this does *NPTv6* RFC6296 when forwarding traffic > with source addresses that do not fit into the uplink ISP. I do not agree with this. NPTv6 as described in RFC6296 is about stateless prefix rewrit

Re: [PATCH v3 3/4] ipq40xx: fix compatibility with linux-atm tools

2025-01-13 Thread Martin Schiller
On 2025-01-12 15:09, Sergey Ryazanov wrote: atm_qos struct should be the same both for user and kernel spaces. Via the __SO_ENCODE() macro it is used to define the SO_ATMQOS socket IOC. During the VRX518 support introduction, the atm_trafprm sturct nested into the atm_qos stucture was update wit

Re: [PATCH v3 3/4] ipq40xx: fix compatibility with linux-atm tools

2025-01-13 Thread Sergey Ryazanov
Hi Andre, Martin, On 13.01.2025 14:17, Andre Heider wrote: On 13/01/2025 9:17 am, Martin Schiller wrote: On 2025-01-12 15:09, Sergey Ryazanov wrote: atm_qos struct should be the same both for user and kernel spaces. Via the __SO_ENCODE() macro it is used to define the SO_ATMQOS socket IOC. Du

Re: [PATCH] selinux-policy: update to version v2.0

2025-01-13 Thread Stefan Hellermann
Hi! Thank you for your really fast changes! With your last commit f86def7e there are 3 new errors for /dev/urandom: [...] [    1.749370] init: - preinit - [    2.437887] audit: type=1400 audit(1736810585.360:3): avc: denied  { getattr } for  pid=886 comm="jshn" path="/dev/urandom" dev="tmpfs"

Re: [PATCH v3 3/4] ipq40xx: fix compatibility with linux-atm tools

2025-01-13 Thread Andre Heider
On 13/01/2025 11:27 pm, Sergey Ryazanov wrote: Hi Andre, Martin, On 13.01.2025 14:17, Andre Heider wrote: In any case, this set still works on my ipq40xx device and vdsl seems to work just fine! Have you gave a change to this series, Andre? Yes, I used this V3. No build errors and at runtim

Re: [PATCH] selinux-policy: update to version v2.0

2025-01-13 Thread Dominick Grift
Stefan Hellermann writes: > Hi! Thank you for your really fast changes! Thank you for your feedback. It is appreciated. Comments below: > > With your last commit f86def7e there are 3 new errors for /dev/urandom: > > [...] > [    1.749370] init: - preinit - > [    2.437887] audit: type=1400 audi

Re: [PATCH v3 3/4] ipq40xx: fix compatibility with linux-atm tools

2025-01-13 Thread Martin Schiller
On 2025-01-13 23:27, Sergey Ryazanov wrote: Hi Andre, Martin, On 13.01.2025 14:17, Andre Heider wrote: On 13/01/2025 9:17 am, Martin Schiller wrote: On 2025-01-12 15:09, Sergey Ryazanov wrote: atm_qos struct should be the same both for user and kernel spaces. Via the __SO_ENCODE() macro it is

Re: [PATCH] selinux-policy: update to version v2.0

2025-01-13 Thread Dominick Grift
Dominick Grift writes: > Dominick Grift writes: > >> Hi, Thank you for feedback. Comments inline below: >> >> Stefan Hellermann writes: >> > > > >>> audit(1736704702.290:4): avc:  denied  { associate } for  pid=1010 >>> comm="mv" name="sysupgrade.tgz" scontext=sys.id:sys.role:dos.fs >>> tconte