In order to pass extack together with NETDEV_PRE_UP notifications, it's
necessary to route the extack to __dev_open() from diverse (possibly
indirect) callers. One prominent API through which the notification is
invoked is dev_open().
Therefore extend dev_open() with and extra extack argument and update
all users. Most of the calls end up just encoding NULL, but bond and
team drivers have the extack readily available.
Signed-off-by: Petr Machata <firstname.lastname@example.org>
Acked-by: Jiri Pirko <email@example.com>
Reviewed-by: Ido Schimmel <firstname.lastname@example.org>
Reviewed-by: David Ahern <email@example.com>
Signed-off-by: David S. Miller <firstname.lastname@example.org>