Bug 91941

Summary: device refcounting broken when moving a route across devices
Product: Networking Reporter: Lubomir Rintel (lkundrak)
Component: IPV6Assignee: Hideaki YOSHIFUJI (yoshfuji)
Status: NEW ---    
Severity: normal CC: hannes
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.10 -- 3.18 Subsystem:
Regression: No Bisected commit-id:

Description Lubomir Rintel 2015-01-23 19:46:32 UTC
[root@rhel7-5 lkundrak]# sh -x lal
+ ip link add dev0 type dummy
+ ip link set dev0 up
+ ip link add dev1 type dummy
+ ip link set dev1 up
+ ip addr add 2001:db8:8086::2/64 dev dev0
+ ip route add 2001:db8:8086::/48 dev dev0 proto static metric 20
+ ip route add 2001:db8:8088::/48 dev dev1 proto static metric 10
+ ip route replace 2001:db8:8086::/48 dev dev1 proto static metric 20
+ ip link del dev0 type dummy
Message from syslogd@rhel7-5 at Jan 23 10:54:41 ...
 kernel:unregister_netdevice: waiting for dev0 to become free. Usage count = 2
 
Message from syslogd@rhel7-5 at Jan 23 10:54:51 ...
 kernel:unregister_netdevice: waiting for dev0 to become free. Usage count = 2
Comment 1 hannes 2015-01-26 14:11:51 UTC
Addressed in patch:

http://patchwork.ozlabs.org/patch/432749/