Project

General

Profile

Actions

Bug #307

closed

Can't re-add interface via rtnetlink in 2016.4

Added by Julian Labus about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
11/02/2016
Due date:
% Done:

0%

Estimated time:

Description

Since version 2016.4 it is no longer possible to re-add an interface via rtnetlink if it was removed from an batadv interface.

It is really easy to reproduce:
ip link add name bat0 type batadv
ip link set dev eth1 master bat0
ip link set dev eth1 nomaster
ip link set dev eth1 master bat0

The second command to set master of eth1 to bat0 again fails with the message "RTNETLINK answers: Invalid argument"

I couldn't reproduce this with 2016.2 and 2016.3. The tested kernels where 4.7.0 (amd64) and 3.10.14 (mipsel)

Actions

Also available in: Atom PDF