From 0c9953afc3b5b9f796e3fd3e3d18203f0a8cdbff Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Mon, 8 Feb 2010 15:48:54 -0500 Subject: [PATCH] datapath: Set Nicira random address in the datapath. OVS now sets the Nicira OUI plus the top bit on packets that it generates to indicate a random address. This makes the datapath do the same thing. --- datapath/dp_dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datapath/dp_dev.c b/datapath/dp_dev.c index 5b434c1f..2bbd6fec 100644 --- a/datapath/dp_dev.c +++ b/datapath/dp_dev.c @@ -214,8 +214,8 @@ do_setup(struct net_device *netdev) netdev->dev_addr[1] = 0x23; netdev->dev_addr[2] = 0x20; - /* Set the top bits to indicate random Nicira address. */ - netdev->dev_addr[3] |= 0xc0; + /* Set the top bit to indicate random Nicira address. */ + netdev->dev_addr[3] |= 0x80; } /* Create a datapath device associated with 'dp'. If 'dp_name' is null, -- 2.30.2