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 Thu, Jan 12, 2023 at 01:50:38PM +0200, Martin Zaharinov wrote:
> Hi Pablo 
> 
> Do you have time to check this ?

Busy here sorry.

Why don't you use batch mode to speed up registration rather than
triggering lots of forks, one after another?

for i in `seq 2 9999`; do echo "link add d$i type dummy" >> /tmp/batch; done     
for i in `seq 2 9999`; do echo "create chain netdev x int$i { type filter hook egress priority -500; policy accept; }" >> /tmp/ruleset.nft; done
for i in `seq 2 9999`; do echo "add chain netdev x int$i { devices = { d$i }; }" >> /tmp/ruleset.nft; done

I can't reproduce the bug you report here, you provide more detailed
description.



[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