vlan.c (38fd2c202a3d82bc12430bce5789fa2c2a406f71) vlan.c (07fc67befd2e843da8ad01785d559d9c257d7fd4)
1/*
2 * INET 802.1Q VLAN
3 * Ethernet-type device handling.
4 *
5 * Authors: Ben Greear <greearb@candelatech.com>
6 * Please send support related email to: netdev@vger.kernel.org
7 * VLAN Home Page: http://www.candelatech.com/~greear/vlan.html
8 *

--- 287 unchanged lines hidden (view full) ---

296 dev_uc_del(dev, vlandev->dev_addr);
297
298 /* vlan address was equal to the old address and is different from
299 * the new address */
300 if (ether_addr_equal(vlandev->dev_addr, vlan->real_dev_addr) &&
301 !ether_addr_equal(vlandev->dev_addr, dev->dev_addr))
302 dev_uc_add(dev, vlandev->dev_addr);
303
1/*
2 * INET 802.1Q VLAN
3 * Ethernet-type device handling.
4 *
5 * Authors: Ben Greear <greearb@candelatech.com>
6 * Please send support related email to: netdev@vger.kernel.org
7 * VLAN Home Page: http://www.candelatech.com/~greear/vlan.html
8 *

--- 287 unchanged lines hidden (view full) ---

296 dev_uc_del(dev, vlandev->dev_addr);
297
298 /* vlan address was equal to the old address and is different from
299 * the new address */
300 if (ether_addr_equal(vlandev->dev_addr, vlan->real_dev_addr) &&
301 !ether_addr_equal(vlandev->dev_addr, dev->dev_addr))
302 dev_uc_add(dev, vlandev->dev_addr);
303
304 memcpy(vlan->real_dev_addr, dev->dev_addr, ETH_ALEN);
304 ether_addr_copy(vlan->real_dev_addr, dev->dev_addr);
305}
306
307static void vlan_transfer_features(struct net_device *dev,
308 struct net_device *vlandev)
309{
310 vlandev->gso_max_size = dev->gso_max_size;
311
312 if (dev->features & NETIF_F_HW_VLAN_CTAG_TX)

--- 373 unchanged lines hidden ---
305}
306
307static void vlan_transfer_features(struct net_device *dev,
308 struct net_device *vlandev)
309{
310 vlandev->gso_max_size = dev->gso_max_size;
311
312 if (dev->features & NETIF_F_HW_VLAN_CTAG_TX)

--- 373 unchanged lines hidden ---