commit | e56a9f0ec44ff91c4798a4babb3d7d2acd506791 | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Apr 06 15:37:42 2018 +0300 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Mon Apr 09 17:17:00 2018 +0300 |
tree | 69854cf3c9247782cfe6d9808472e9d0a8035329 | |
parent | 4fc2ccbdabf6182cf93dd89d3f4e162bd93afaaa [diff] |
net: ethernet: Return correct non VLAN interface If we have several network interfaces and not all of them are VLAN enabled, then we might return wrong network interface to the ethernet device driver when it asks one. To fix this, return the first interface that has not enabled VLAN if the tag of the network packet is unspecified. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>