vlan.c (b4076d1715b8a38138db0805a85932b3b650d583) | vlan.c (b85daa5324a3c9e560a4351c17d18f49c647eb5c) |
---|---|
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 * --- 377 unchanged lines hidden (view full) --- 386static void vlan_transfer_features(struct net_device *dev, 387 struct net_device *vlandev) 388{ 389 unsigned long old_features = vlandev->features; 390 391 vlandev->features &= ~dev->vlan_features; 392 vlandev->features |= dev->features & dev->vlan_features; 393 vlandev->gso_max_size = dev->gso_max_size; | 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 * --- 377 unchanged lines hidden (view full) --- 386static void vlan_transfer_features(struct net_device *dev, 387 struct net_device *vlandev) 388{ 389 unsigned long old_features = vlandev->features; 390 391 vlandev->features &= ~dev->vlan_features; 392 vlandev->features |= dev->features & dev->vlan_features; 393 vlandev->gso_max_size = dev->gso_max_size; |
394#if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE) 395 vlandev->fcoe_ddp_xid = dev->fcoe_ddp_xid; 396#endif |
|
394 395 if (old_features != vlandev->features) 396 netdev_features_change(vlandev); 397} 398 399static void __vlan_device_event(struct net_device *dev, unsigned long event) 400{ 401 switch (event) { --- 376 unchanged lines hidden --- | 397 398 if (old_features != vlandev->features) 399 netdev_features_change(vlandev); 400} 401 402static void __vlan_device_event(struct net_device *dev, unsigned long event) 403{ 404 switch (event) { --- 376 unchanged lines hidden --- |