From: gfree.w...@vip.163.com
Date: Fri, 1 Dec 2017 16:33:03 +0800
> From: Gao Feng
>
> There are multiple duplicated condition checks in the current codes, so
> I add the new func ipvlan_is_valid_dev instead of the duplicated codes to
> check if the netdev is real ipvlan dev.
>
> Signed-off-by
From: Gao Feng
There are multiple duplicated condition checks in the current codes, so
I add the new func ipvlan_is_valid_dev instead of the duplicated codes to
check if the netdev is real ipvlan dev.
Signed-off-by: Gao Feng
---
drivers/net/ipvlan/ipvlan_main.c | 33 +--