pr_err("You are about to enable batman-adv on '%s' which "
pr_err("You are about to enable batman-adv on '%s' which already is part of a bridge. Unless you know exactly what you are doing this is probably wrong and won't work the way you think it would.\n",
"already is part of a bridge. Unless you know exactly "
"what you are doing this is probably wrong and won't "
"work the way you think it would.\n",
hard_iface->net_dev->name);
hard_iface->net_dev->name);
soft_iface=dev_get_by_name(&init_net,iface_name);
soft_iface=dev_get_by_name(&init_net,iface_name);
...
@@ -303,8 +298,7 @@ int hardif_enable_interface(struct hard_iface *hard_iface,
...
@@ -303,8 +298,7 @@ int hardif_enable_interface(struct hard_iface *hard_iface,
}
}
if(!softif_is_valid(soft_iface)){
if(!softif_is_valid(soft_iface)){
pr_err("Can't create batman mesh interface %s: "
pr_err("Can't create batman mesh interface %s: already exists as regular interface\n",
"already exists as regular interface\n",
soft_iface->name);
soft_iface->name);
dev_put(soft_iface);
dev_put(soft_iface);
ret=-EINVAL;
ret=-EINVAL;
...
@@ -317,8 +311,9 @@ int hardif_enable_interface(struct hard_iface *hard_iface,
...
@@ -317,8 +311,9 @@ int hardif_enable_interface(struct hard_iface *hard_iface,
"The MTU of interface %s is too small (%i) to handle "
"The MTU of interface %s is too small (%i) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to %zi would solve the problem.\n",
"the transport of batman-adv packets. Packets going "
"over this interface will be fragmented on layer2 "
"which could impact the performance. Setting the MTU "
"The MTU of interface %s is too small (%i) to handle "
"The MTU of interface %s is too small (%i) to handle the transport of batman-adv packets. If you experience problems getting traffic through try increasing the MTU to %zi.\n",
"the transport of batman-adv packets. If you "
"experience problems getting traffic through try "