Loading net/bridge/br_mdb.c +17 −16 Original line number Diff line number Diff line Loading @@ -88,9 +88,11 @@ static int br_mdb_fill_info(struct sk_buff *skb, struct netlink_callback *cb, for (pp = &mp->ports; (p = rcu_dereference(*pp)) != NULL; pp = &p->next) { port = p->port; if (port) { struct br_mdb_entry e; port = p->port; if (!port) continue; memset(&e, 0, sizeof(e)); e.ifindex = port->dev->ifindex; e.vid = p->addr.vid; Loading @@ -108,7 +110,6 @@ static int br_mdb_fill_info(struct sk_buff *skb, struct netlink_callback *cb, goto out; } } } nla_nest_end(skb, nest2); skip: idx++; Loading Loading
net/bridge/br_mdb.c +17 −16 Original line number Diff line number Diff line Loading @@ -88,9 +88,11 @@ static int br_mdb_fill_info(struct sk_buff *skb, struct netlink_callback *cb, for (pp = &mp->ports; (p = rcu_dereference(*pp)) != NULL; pp = &p->next) { port = p->port; if (port) { struct br_mdb_entry e; port = p->port; if (!port) continue; memset(&e, 0, sizeof(e)); e.ifindex = port->dev->ifindex; e.vid = p->addr.vid; Loading @@ -108,7 +110,6 @@ static int br_mdb_fill_info(struct sk_buff *skb, struct netlink_callback *cb, goto out; } } } nla_nest_end(skb, nest2); skip: idx++; Loading