]> err.no Git - linux-2.6/blobdiff - net/bridge/br_device.c
tcp: fix for splice receive when used with software LRO
[linux-2.6] / net / bridge / br_device.c
index f803e39eee28d4f76b70ade5641b6a760b2c87e9..bf7787395fe09c17e25cbcea93f089386aad5af8 100644 (file)
@@ -150,18 +150,14 @@ static int br_set_tx_csum(struct net_device *dev, u32 data)
 static struct ethtool_ops br_ethtool_ops = {
        .get_drvinfo = br_getinfo,
        .get_link = ethtool_op_get_link,
-       .get_sg = ethtool_op_get_sg,
        .set_sg = br_set_sg,
-       .get_tx_csum = ethtool_op_get_tx_csum,
        .set_tx_csum = br_set_tx_csum,
-       .get_tso = ethtool_op_get_tso,
        .set_tso = br_set_tso,
 };
 
 void br_dev_setup(struct net_device *dev)
 {
-       memset(dev->dev_addr, 0, ETH_ALEN);
-
+       random_ether_addr(dev->dev_addr);
        ether_setup(dev);
 
        dev->do_ioctl = br_dev_ioctl;