sched: have stub for tcf_destroy_chain in case NET_CLS is not configured
authorJiri Pirko <jiri@mellanox.com>
Wed, 15 Feb 2017 10:57:50 +0000 (11:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2017 17:22:48 +0000 (12:22 -0500)
commit8ae70032552a8082734d0b8550848cf6bf92e1d5
tree75be4cf4bd229eaf5976649622e6b2c6fb6d231c
parentd498f8719a098a5df7c6dba4ea302df7afb51efd
sched: have stub for tcf_destroy_chain in case NET_CLS is not configured

This fixes broken build for !NET_CLS:

net/built-in.o: In function `fq_codel_destroy':
/home/sab/linux/net-next/net/sched/sch_fq_codel.c:468: undefined reference to `tcf_destroy_chain'

Fixes: cf1facda2f61 ("sched: move tcf_proto_destroy and tcf_destroy_chain helpers into cls_api")
Reported-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Tested-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h