Bug 82491

Summary: iproute2: Breaking syntax change: ip link add now requires "name"
Product: Networking Reporter: Jan Steffens (jan.steffens)
Component: IPV4Assignee: Stephen Hemminger (stephen)
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: high CC: alan, arthur.titeica, evangelos, szg00000
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.16.0 Subsystem:
Regression: Yes Bisected commit-id:

Description Jan Steffens 2014-08-15 23:35:05 UTC
Starting with iproute2 3.16.0, "ip link add br0 type bridge" does not work anymore, returning "Error: argument "br0" is wrong: Unknown device". However, "ip link add name br0 type bridge" still works.

Bisection led to 9a02651 (ip: check for missing dev arg when doing VF rate) as the first bad commit.

Kernel 3.16.1, x86_64
Comment 1 Alan 2014-08-21 15:52:26 UTC
Bisecting the kernel or the iproute tool ?
Comment 2 Jan Steffens 2014-08-21 16:02:18 UTC
The iproute tool.
Comment 3 Evangelos Foutras 2014-09-20 14:35:48 UTC
I believe this was fixed earlier this month:

https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=f1b66ff
Comment 4 Jan Steffens 2016-12-21 18:19:05 UTC
Should be fixed since v3.17.0.