Re: [PATCH next] ipvlan: Fix failure path in dev registration during link creation

2016-04-27 Thread Mahesh Bandewar
On Wed, Apr 27, 2016 at 11:57 AM, David Miller wrote: > From: Mahesh Bandewar > Date: Wed, 27 Apr 2016 11:37:39 -0700 > >> 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 SH

Re: [PATCH next] ipvlan: Fix failure path in dev registration during link creation

2016-04-27 Thread David Miller
From: Mahesh Bandewar Date: Wed, 27 Apr 2016 11:37:39 -0700 > 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 SHA1:308379607548524b8d86dbf20134681024935e0b This is not the co

[PATCH next] ipvlan: Fix failure path in dev registration during link creation

2016-04-27 Thread Mahesh Bandewar
From: Mahesh Bandewar When newlink creation fails at device-registration, the port->count is decremented twice. Francesco Ruggeri (frugg...@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 c