batman-adv: Demote batadv-on-batadv skip error message
authorSven Eckelmann <sven@narfation.org>
Sun, 27 Feb 2022 22:40:40 +0000 (23:40 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Wed, 2 Mar 2022 08:00:17 +0000 (09:00 +0100)
commit6ee3c393eeb7d16a3c228c4fa23913b76c7e7df3
treef849c58ed32d003654bcdf1c4011030ec6bfad90
parenteb7da4f17dfcee649767f89e17842f664a459549
batman-adv: Demote batadv-on-batadv skip error message

The error message "Cannot find parent device" was shown for users of
macvtap (on batadv devices) whenever the macvtap was moved to a different
netns. This happens because macvtap doesn't provide an implementation for
rtnl_link_ops->get_link_net.

The situation for which this message is printed is actually not an error
but just a warning that the optional sanity check was skipped. So demote
the message from error to warning and adjust the text to better explain
what happened.

Reported-by: Leonardo Mörlein <freifunk@irrelefant.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/hard-interface.c