From: Jesse Gross Date: Fri, 4 Nov 2011 01:12:09 +0000 (-0700) Subject: datapath: Don't set flags on internal vports. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94839072481a8c2699eedaee62b33cacf39eadfc;p=openvswitch datapath: Don't set flags on internal vports. We currently set netdev->flags to IFF_BROADCAST | IFF_MULTICAST but this is unnecessary because it's already done by ether_setup(). Signed-off-by: Jesse Gross Acked-by: Ben Pfaff --- diff --git a/datapath/vport-internal_dev.c b/datapath/vport-internal_dev.c index a468ac83..fdcf1754 100644 --- a/datapath/vport-internal_dev.c +++ b/datapath/vport-internal_dev.c @@ -176,7 +176,6 @@ static void do_setup(struct net_device *netdev) SET_ETHTOOL_OPS(netdev, &internal_dev_ethtool_ops); netdev->tx_queue_len = 0; - netdev->flags = IFF_BROADCAST | IFF_MULTICAST; netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | NETIF_F_TSO;