diff options
author | Gao Feng <gfree.wind@vip.163.com> | 2017-12-01 16:33:03 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-03 09:46:42 -0500 |
commit | 5e51fe6f4472510a85e637907e24d4fbe5e39489 (patch) | |
tree | 9029011a1792dc76e1b35cd95396706082d5517c /drivers/android | |
parent | 0653cb2e1d1d8c1e965533ce3f167251d5e7cdd1 (diff) |
ipvlan: Add new func ipvlan_is_valid_dev instead of duplicated codes
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 <gfree.wind@vip.163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions