Re: [PATCHv2 net-next 3/6] selftests: net: use setup_ns for bareudp testing

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

 



On Thu, May 08, 2025 at 08:19:07AM +0000, Hangbin Liu wrote:
> Switch bareudp testing to use setup_ns, which sets up rp_filter by default.
> This allows us to remove the manual rp_filter configuration from the script.
> 
> Additionally, since setup_ns handles namespace naming and cleanup, we no
> longer need a separate cleanup function. We also move the trap setup earlier
> in the script, before the test setup begins.
> 
> Signed-off-by: Hangbin Liu <liuhangbin@xxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux