mirror of https://gitee.com/openkylin/linux.git
494e8489db
When newlink creation fails at device-registration, the port->count
is decremented twice. Francesco Ruggeri (fruggeri@arista.com) found
this issue in Macvlan and the same exists in IPvlan driver too.
While fixing this issue I noticed another issue of missing unregister
in case of failure, so adding it to the fix which is similar to the
macvlan fix by Francesco in commit
|
||
---|---|---|
.. | ||
Makefile | ||
ipvlan.h | ||
ipvlan_core.c | ||
ipvlan_main.c |