Project

General

Profile

Actions

Bug #394

closed

batctl: dmesg deprecation warnings triggered via "batctl if"

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

When using "batctl if" to get the interface status then this triggers the following deprecation warnings in dmesg:

[ 5856.277366] batman_adv: [Deprecated]: batctl (pid 5054) Use of sysfs file "iface_status".
[ 5856.277366] Use batadv genl family instead

Even though batctl v2019.2 supports netlink for the interface status it prefers the syfs version if available.

This is a regression introduced with batman-adv v2019.2 which happens as long as batman-adv is compiled with CONFIG_BATMAN_ADV_SYSFS=y.

@Sven: Was it an accident to prefer sysfs over netlink for "batctl if" or were there some downsides of the netlink variant?

Actions

Also available in: Atom PDF