net: sched: introduce chain_head_change callback
authorJiri Pirko <jiri@mellanox.com>
Fri, 3 Nov 2017 10:46:24 +0000 (11:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Nov 2017 12:57:23 +0000 (21:57 +0900)
commitc7eb7d7230509ec862d4144f7a831f995bc5d028
treeb5a04d576966457b29dff194444e4aeb9fe6c5a8
parentaa5fbf07541bbec0d79f4b32415aff2233971853
net: sched: introduce chain_head_change callback

Add a callback that is to be called whenever head of the chain changes.
Also provide a callback for the default case when the caller gets a
block using non-extended getter.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h
include/net/sch_generic.h
net/sched/cls_api.c
net/sched/sch_ingress.c