[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150117.152836.1278279020949227202.davem@davemloft.net>
Date: Sat, 17 Jan 2015 15:28:36 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: sfeldma@...il.com, netdev@...r.kernel.org, jhs@...atatu.com,
sfeldma@...il.co, stephen@...workplumber.org,
linus.luessing@....de, tgraf@...g.ch
Subject: Re: [patch net-next 2/2] net: replace br_fdb_external_learn_*
calls with switchdev notifier events
From: Jiri Pirko <jiri@...nulli.us>
Date: Sat, 17 Jan 2015 09:31:12 +0100
>>> @@ -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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists