Project

General

Profile

Actions

Bug #393

closed

batadv-vis: dmesg deprecation warnings

Added by Linus Lüssing over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
06/19/2019
Due date:
% Done:

0%

Estimated time:

Description

Every UPDATE_INTERVAL (10 seconds) batadv-vis creates a warning like the following for each interface:

[  775.385966] batman_adv: [Deprecated]: batadv-vis (pid 3251) Use of sysfs file "iface_status".
[  775.385966] Use batadv genl family instead
[  785.389259] batman_adv: [Deprecated]: batadv-vis (pid 3251) Use of sysfs file "mesh_iface".
[  785.389259] Use batadv genl family instead

It seems that register_interfaces() in vis.c was not updated to use netlink to query "iface_status" and "mesh_iface" yet.

The issue is present when using batman-adv v2019.2.

Actions #1

Updated by Sven Eckelmann over 5 years ago

Following two commits from batctl have to be (adjusted and) imported:

  • ef66312939e6 ("batctl: Add netlink fallback for sysfs' iface_status")
  • 07967cd19702 ("batctl: Support checking of meshif without sysfs")
Actions #2

Updated by Sven Eckelmann over 5 years ago

  • Status changed from New to Resolved
  • Assignee changed from batman-adv developers to Linus Lüssing
  • Target version set to 2019.3
Actions #3

Updated by Sven Eckelmann over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF