RE: [PATCHv3 5/7] tap: Extending tap device create/destroy APIs

2017-02-02 Thread Grandhi, Sainath
ject: Re: [PATCHv3 5/7] tap: Extending tap device create/destroy APIs > > From: Sainath Grandhi <sainath.gran...@intel.com> > Date: Mon, 30 Jan 2017 11:12:00 -0800 > > > + list_for_each_entry_safe(tap_major, tmp, _list, next) { > > + if (tap_major-&g

Re: [PATCHv3 5/7] tap: Extending tap device create/destroy APIs

2017-01-31 Thread David Miller
From: Sainath Grandhi Date: Mon, 30 Jan 2017 11:12:00 -0800 > + list_for_each_entry_safe(tap_major, tmp, _list, next) { > + if (tap_major->major == major) { > + return tap_major; > + } > + } Single line basic blocks,

[PATCHv3 5/7] tap: Extending tap device create/destroy APIs

2017-01-30 Thread Sainath Grandhi
Extending tap APIs get/free_minor and create/destroy_cdev to handle more than one type of virtual interface. Signed-off-by: Sainath Grandhi --- drivers/net/macvtap_main.c | 6 +-- drivers/net/tap.c | 98 +++---

[PATCHv3 5/7] TAP: Extending tap device create/destroy APIs

2017-01-25 Thread Sainath Grandhi
Extending tap APIs get/free_minor and create/destroy_cdev to handle more than one type of virtual interface. Signed-off-by: Sainath Grandhi --- drivers/net/macvtap_main.c | 6 +-- drivers/net/tap.c | 98 +++---