diff options
author | Roman Mashak <mrv@mojatatu.com> | 2018-03-08 16:59:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-09 11:25:11 -0500 |
commit | 4e76e75d6aba83f35d55b50f66a6768af1657563 (patch) | |
tree | 407e414844ebc3607ff67c43237fb53b78931564 /net/sched/act_gact.c | |
parent | net sched actions: add new tc_action_ops callback (diff) | |
download | linux-dev-4e76e75d6aba83f35d55b50f66a6768af1657563.tar.xz linux-dev-4e76e75d6aba83f35d55b50f66a6768af1657563.zip |
net sched actions: calculate add/delete event message size
Introduce routines to calculate size of the shared tc netlink attributes
and the full message size including netlink header and tc service header.
Update add/delete action logic to have the size for event messages,
the size is passed to tcf_add_notify() and tcf_del_notify() where the
notification message is being allocated and constructed.
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions