[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191130.122412.738209563027806422.davem@davemloft.net>
Date: Sat, 30 Nov 2019 12:24:12 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, mlxsw@...lanox.com
Subject: Re: [patch net] selftests: forwarding: fix race between packet
receive and tc check
From: Jiri Pirko <jiri@...nulli.us>
Date: Thu, 28 Nov 2019 13:38:57 +0100
> From: Jiri Pirko <jiri@...lanox.com>
>
> It is possible that tc stats get checked before the packet we check for
> actually arrived into the interface and accounted for.
> Fix it by checking for the expected result in a loop until
> timeout is reached (by default 1 second).
>
> Fixes: 07e5c75184a1 ("selftests: forwarding: Introduce tc flower matching tests")
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied and queued up for -stable, thanks Jiri.
Powered by blists - more mailing lists