Re: [nft] src: allow for updating devices on existing netdev chain - Test result

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 06, 2023 at 05:17:51PM +0200, Martin Zaharinov wrote:
> Hi Pablo
> 
> Patch look good and work but in my test after try to add ppp0 on
> over chain 1024 receive : Error: Could not process rule: Argument
> list too long

You are hitting the maximum number of hooks per device (1024). I think you
perhaps would like to do something like:

for i in `seq 2 9999`; do echo "add chain netdev qos int { devices = { ppp$i } ; }" >> /tmp/ruleset.nft; done

instead?



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux