Skip to content

Commit 3c14909

Browse files
sudipm-mukherjeedavem330
authored andcommitted
net: sch: api: fix tcf_block_get
The build of mips bcm47xx_defconfig is failing with the error: net/sched/sch_fq_codel.c: In function 'fq_codel_init': net/sched/sch_fq_codel.c:487:8: error: too many arguments to function 'tcf_block_get' While adding the extack support, the commit missed adding it in the headers when CONFIG_NET_CLS is not defined. Fixes: 8d1a77f ("net: sch: api: add extack support in tcf_block_get") Signed-off-by: Sudip Mukherjee <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 81487bf commit 3c14909

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/net/pkt_cls.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ int tcf_classify(struct sk_buff *skb, const struct tcf_proto *tp,
7979
#else
8080
static inline
8181
int tcf_block_get(struct tcf_block **p_block,
82-
struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q)
82+
struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q,
83+
struct netlink_ext_ack *extack)
8384
{
8485
return 0;
8586
}

0 commit comments

Comments
 (0)