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
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,
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 +++---
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 +++---