[ovs-dev] [PATCH 6/7] datapath: Report ifindex of 0 if vport doesn't have one.

Ben Pfaff blp at nicira.com
Thu Dec 30 17:31:51 UTC 2010


On Wed, Dec 29, 2010 at 03:41:34PM -0800, Jesse Gross wrote:
> If a vport is a virtual device then it doesn't have a system ifindex.
> We currently return the ifindex of the bridge device in this situation
> but that's somewhat misleading, so this replaces it with 0.  Nothing
> actually reads the ifindex for devices other than the bridge device,
> so this doesn't have a functional change.
> 
> Suggested-by: Ben Pfaff <blp at nicira.com>
> Signed-off-by: Jesse Gross <jesse at nicira.com>

Acked-by: Ben Pfaff <blp at nicira.com>




More information about the dev mailing list