Thread (8 messages) flat view 8 messages, 3 authors, 2015-01-18

Re: [patch net-next 2/2] net: replace br_fdb_external_learn_* calls with switchdev notifier events

From: David Miller <davem@davemloft.net>
Date: 2015-01-17 20:28:41

From: Jiri Pirko <jiri@resnulli.us>
Date: Sat, 17 Jan 2015 09:31:12 +0100
quoted
quoted
@@ -3026,11 +3026,17 @@ static void rocker_port_fdb_learn_work(struct work_struct *work)
                container_of(work, struct rocker_fdb_learn_work, work);
        bool removing = (lw->flags & ROCKER_OP_FLAG_REMOVE);
        bool learned = (lw->flags & ROCKER_OP_FLAG_LEARNED);
+       struct netdev_switch_notifier_fdb_info info;
+
+       info.addr = lw->addr;
+       info.vid = lw->vid;
If you respin patch, use initializer to zero out other members, just
to future proof it.
There are no other members :)
That's why he said "future proof", he knows there are no other members
(currently) too.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help