History

switchdev: rename switchdev_obj_vlan to switchdev_obj_port_vlan

Make the struct name in sync with object id name.

Jiri Pirko committed 11 years ago

Commit 8f24f301 parent 1f868395 files · +12 −12Browse files

Showing the changes to net/switchdev/switchdev.c (1 of 5 files). Show all

Unified · Split

net/switchdev/switchdev.c+3−3
@@ -483,7 +483,7 @@ int call_switchdev_notifiers(unsigned long val, struct net_device *dev, · 482 unmodified lines
483EXPORT_SYMBOL_GPL(call_switchdev_notifiers);483EXPORT_SYMBOL_GPL(call_switchdev_notifiers);
484 484
485struct switchdev_vlan_dump {485struct switchdev_vlan_dump {
486 struct switchdev_obj_vlan vlan;486 struct switchdev_obj_port_vlan vlan;
487 struct sk_buff *skb;487 struct sk_buff *skb;
488 u32 filter_mask;488 u32 filter_mask;
489 u16 flags;489 u16 flags;
@@ -523,7 +523,7 @@ static int switchdev_port_vlan_dump_put(struct switchdev_vlan_dump *dump) · 33 unmodified lines
523 523
524static int switchdev_port_vlan_dump_cb(void *obj)524static int switchdev_port_vlan_dump_cb(void *obj)
525{525{
526 struct switchdev_obj_vlan *vlan = obj;526 struct switchdev_obj_port_vlan *vlan = obj;
527 struct switchdev_vlan_dump *dump =527 struct switchdev_vlan_dump *dump =
528 container_of(vlan, struct switchdev_vlan_dump, vlan);528 container_of(vlan, struct switchdev_vlan_dump, vlan);
529 int err = 0;529 int err = 0;
@@ -704,7 +704,7 @@ static int switchdev_port_br_afspec(struct net_device *dev, · 174 unmodified lines
704{704{
705 struct nlattr *attr;705 struct nlattr *attr;
706 struct bridge_vlan_info *vinfo;706 struct bridge_vlan_info *vinfo;
707 struct switchdev_obj_vlan vlan = { 0 };707 struct switchdev_obj_port_vlan vlan = { 0 };
708 int rem;708 int rem;
709 int err;709 int err;
710 710