You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From 49c58cd6735d5f8f6683543ea66bb348aaa91321 Mon Sep 17 00:00:00 2001
|
|
From: Razvan Stefanescu <razvan.stefanescu@nxp.com>
|
|
Date: Fri, 18 Aug 2017 12:34:24 +0300
|
|
Subject: [PATCH] staging: dpaa2-evb: Update netlink parsing parameters
|
|
|
|
Accommodate extended ACL reporting addded to netlink parsing functions.
|
|
|
|
Signed-off-by: Razvan Stefanescu <razvan.stefanescu@nxp.com>
|
|
---
|
|
drivers/staging/fsl-dpaa2/evb/evb.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/staging/fsl-dpaa2/evb/evb.c
|
|
+++ b/drivers/staging/fsl-dpaa2/evb/evb.c
|
|
@@ -533,7 +533,7 @@ static int evb_setlink(struct net_device
|
|
attr = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC);
|
|
if (attr) {
|
|
err = nla_parse_nested(tb, IFLA_BRIDGE_MAX, attr,
|
|
- ifla_br_policy);
|
|
+ ifla_br_policy, NULL);
|
|
if (unlikely(err)) {
|
|
netdev_err(netdev,
|
|
"nla_parse_nested for br_policy err %d\n",
|
|
@@ -739,7 +739,7 @@ static int evb_dellink(struct net_device
|
|
if (!spec)
|
|
return 0;
|
|
|
|
- err = nla_parse_nested(tb, IFLA_BRIDGE_MAX, spec, ifla_br_policy);
|
|
+ err = nla_parse_nested(tb, IFLA_BRIDGE_MAX, spec, ifla_br_policy, NULL);
|
|
if (unlikely(err))
|
|
return err;
|
|
|