Re: [PATCHv2 net-next 1/6] selftests: net: disable rp_filter after namespace initialization

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

 



On Thu, May 08, 2025 at 08:19:05AM +0000, Hangbin Liu wrote:
> Some distributions enable rp_filter globally by default. To ensure consistent
> behavior across environments, we explicitly disable it in several test cases.
> 
> This patch moves the rp_filter disabling logic to immediately after the
> network namespace is initialized. With this change, individual test cases
> with creating namespace via setup_ns no longer need to disable rp_filter
> again.
> 
> This helps avoid redundancy and ensures test consistency.
> 
> 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