diff options
author | Quentin Monnet <quentin.monnet@netronome.com> | 2018-01-03 17:30:45 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-05 11:18:27 -0500 |
commit | 33c30a8b68cf837b2be3e885ae0a329b880d7666 (patch) | |
tree | 14ac08b6a9df46d5a31dcaa7fb56632d8bdc03fb /net/dsa/tag_brcm.c | |
parent | 0a38806f31729c8931383d2ce944115312855931 (diff) | |
download | linux-33c30a8b68cf837b2be3e885ae0a329b880d7666.tar.gz linux-33c30a8b68cf837b2be3e885ae0a329b880d7666.tar.bz2 linux-33c30a8b68cf837b2be3e885ae0a329b880d7666.zip |
net: sched: fix tcf_block_get_ext() in case CONFIG_NET_CLS is not set
The definition of functions tcf_block_get() and tcf_block_get_ext()
depends of CONFIG_NET_CLS being set. When those functions gained extack
support, only one version of the declaration of those functions was
updated. Function tcf_block_get() was later fixed with commit
3c1490913f3b ("net: sch: api: fix tcf_block_get").
Change arguments of tcf_block_get_ext() for the case when CONFIG_NET_CLS
is not set.
Fixes: 8d1a77f974ca ("net: sch: api: add extack support in tcf_block_get")
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/tag_brcm.c')
0 files changed, 0 insertions, 0 deletions