Thread (36 messages) read the whole thread 36 messages, 5 authors, 2025-06-12

Re: [PATCH net-next 12/14] selftests: net: lib: Add ip_link_has_flag()

From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2025-06-12 10:38:26
Also in: linux-kselftest

On 6/9/25 23:50, Petr Machata wrote:
Add a helper to determine whether a given netdevice has a given flag.

Rewrite ip_link_is_up() in terms of the new helper.

Signed-off-by: Petr Machata <petrm@nvidia.com>
---

Notes:
CC: Shuah Khan <shuah@kernel.org>
CC: linux-kselftest@vger.kernel.org

  tools/testing/selftests/net/lib.sh | 12 +++++++++---
  1 file changed, 9 insertions(+), 3 deletions(-)
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help