mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
31 lines
1007 B
Diff
31 lines
1007 B
Diff
|
From c041c49fc99382976c916438994c3a1caf4ab066 Mon Sep 17 00:00:00 2001
|
||
|
From: Camelia Groza <camelia.groza@nxp.com>
|
||
|
Date: Wed, 17 Jan 2018 17:10:29 +0200
|
||
|
Subject: [PATCH] sdk_dpaa: ceetm: store Qdisc pointer in struct block
|
||
|
|
||
|
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
|
||
|
---
|
||
|
drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
--- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
|
||
|
+++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
|
||
|
@@ -1053,7 +1053,7 @@ static int ceetm_init(struct Qdisc *sch,
|
||
|
return -EINVAL;
|
||
|
}
|
||
|
|
||
|
- ret = tcf_block_get(&priv->block, &priv->filter_list);
|
||
|
+ ret = tcf_block_get(&priv->block, &priv->filter_list, sch);
|
||
|
if (ret)
|
||
|
return ret;
|
||
|
|
||
|
@@ -1505,7 +1505,7 @@ static int ceetm_cls_change(struct Qdisc
|
||
|
if (!cl)
|
||
|
return -ENOMEM;
|
||
|
|
||
|
- err = tcf_block_get(&cl->block, &cl->filter_list);
|
||
|
+ err = tcf_block_get(&cl->block, &cl->filter_list, sch);
|
||
|
if (err) {
|
||
|
kfree(cl);
|
||
|
return err;
|