diff options
author | Petr Machata <petrm@mellanox.com> | 2019-06-12 15:35:28 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-06-13 10:03:11 -0700 |
commit | 140c8971c31c82cb7c38753a5cd974a193b29c5b (patch) | |
tree | 6cf88e7c61a07f83d7df05cb1c880062f96ef9bc /.travis.yml | |
parent | abcf1c0deb8f1197161577996de993ff3662a243 (diff) | |
download | openvswitch-140c8971c31c82cb7c38753a5cd974a193b29c5b.tar.gz |
net: core: dev: Add extack argument to dev_change_flags()
Upstream commit:
commit 567c5e13be5cc74d24f5eb54cf353c2e2277189b
Author: Petr Machata <petrm@mellanox.com>
Date: Thu Dec 6 17:05:42 2018 +0000
net: core: dev: Add extack argument to dev_change_flags()
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_change_flags().
Therefore extend dev_change_flags() with and extra extack argument and
update all users. Most of the calls end up just encoding NULL, but
several sites (VLAN, ipvlan, VRF, rtnetlink) do have extack available.
Since the function declaration line is changed anyway, name the other
function arguments to placate checkpatch.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This patch backports the above upstream patch and also adds fixes
in compat code.
Cc: Petr Machata <petrm@mellanox.com>
Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions