Signed-off-by: Martin Hundebøll martin@hundeboll.net --- soft-interface.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/soft-interface.c b/soft-interface.c index 9bf382d..bc0e44d 100644 --- a/soft-interface.c +++ b/soft-interface.c @@ -563,6 +563,7 @@ static void batadv_softif_destroy_vlan(struct batadv_priv *bat_priv, /** * batadv_interface_add_vid - ndo_add_vid API implementation * @dev: the netdev of the mesh interface + * @proto: must be ETH_P_8021Q * @vid: identifier of the new vlan * * Set up all the internal structures for handling the new vlan on top of the @@ -620,6 +621,7 @@ static int batadv_interface_add_vid(struct net_device *dev, __be16 proto, /** * batadv_interface_kill_vid - ndo_kill_vid API implementation * @dev: the netdev of the mesh interface + * @proto: must be ETH_P_8021Q * @vid: identifier of the deleted vlan * * Destroy all the internal structures used to handle the vlan identified by vid