Re: [PATCH next v2] ipvlan: improvise dev_id generation logic in IPvlan

2017-01-10 Thread David Miller
From: Mahesh Bandewar Date: Mon, 9 Jan 2017 15:05:54 -0800 > From: Mahesh Bandewar > > The patch 009146d117b ("ipvlan: assign unique dev-id for each slave > device.") used ida_simple_get() to generate dev_ids assigned to the > slave devices. However (Eric has pointed out that) there is a short

[PATCH next v2] ipvlan: improvise dev_id generation logic in IPvlan

2017-01-09 Thread Mahesh Bandewar
From: Mahesh Bandewar The patch 009146d117b ("ipvlan: assign unique dev-id for each slave device.") used ida_simple_get() to generate dev_ids assigned to the slave devices. However (Eric has pointed out that) there is a shortcoming with that approach as it always uses the first available ID. This