1 From 49c58cd6735d5f8f6683543ea66bb348aaa91321 Mon Sep 17 00:00:00 2001
2 From: Razvan Stefanescu <razvan.stefanescu@nxp.com>
3 Date: Fri, 18 Aug 2017 12:34:24 +0300
4 Subject: [PATCH] staging: dpaa2-evb: Update netlink parsing parameters
6 Accommodate extended ACL reporting addded to netlink parsing functions.
8 Signed-off-by: Razvan Stefanescu <razvan.stefanescu@nxp.com>
10 drivers/staging/fsl-dpaa2/evb/evb.c | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
13 --- a/drivers/staging/fsl-dpaa2/evb/evb.c
14 +++ b/drivers/staging/fsl-dpaa2/evb/evb.c
15 @@ -533,7 +533,7 @@ static int evb_setlink(struct net_device
16 attr = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC);
18 err = nla_parse_nested(tb, IFLA_BRIDGE_MAX, attr,
20 + ifla_br_policy, NULL);
23 "nla_parse_nested for br_policy err %d\n",
24 @@ -739,7 +739,7 @@ static int evb_dellink(struct net_device
28 - err = nla_parse_nested(tb, IFLA_BRIDGE_MAX, spec, ifla_br_policy);
29 + err = nla_parse_nested(tb, IFLA_BRIDGE_MAX, spec, ifla_br_policy, NULL);