Comment 39 for bug 1457478

Revision history for this message
Pavel Boldin (pboldin) wrote :

The `net_probe.py' assumes that the VLAN mode is always *enabled* on all the Ethernet devices. This is wrong in that case making that assumption unreasonable.

The `e1000' driver disables VLAN mode when there is no VLANs active on the device and *does not* enables it even in promiscuous mode. While this can look like a bug it is only a way driver behaves. Making assumptions on the driver behaviour is a bad design pattern.

The solutions are either:
1. Fix `net_probe' so it adds VLANs it going to `listen' traffic on. This should be done using e.g. `vconfig' utility.
2. Fix `net_probe' so it uses `ethtool' to enable the VLAN modes on devices it is going to `listen' to.