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

2016-04-28 Thread David Miller
From: Mahesh Bandewar Date: Wed, 27 Apr 2016 14:59:27 -0700 > 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. >

[PATCH next v2] 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