mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
net: add netlink_ext_ack argument to rtnl_link_ops.newlink
Add support for extended error reporting. Signed-off-by: Matthias Schiffer <[email protected]> Acked-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
dacdbb4dfc
commit
7a3f4a1851
32 changed files with 68 additions and 40 deletions
|
|
@ -33,7 +33,8 @@ static const struct nla_policy hsr_policy[IFLA_HSR_MAX + 1] = {
|
|||
* hsr_dev_setup routine has been executed. Nice!
|
||||
*/
|
||||
static int hsr_newlink(struct net *src_net, struct net_device *dev,
|
||||
struct nlattr *tb[], struct nlattr *data[])
|
||||
struct nlattr *tb[], struct nlattr *data[],
|
||||
struct netlink_ext_ack *extack)
|
||||
{
|
||||
struct net_device *link[2];
|
||||
unsigned char multicast_spec, hsr_version;
|
||||
|
|
|
|||
Loading…
Reference in a new issue