From: Roman Mashak <m...@mojatatu.com> Date: Wed, 7 Aug 2019 15:57:27 -0400
> When adding or deleting a batch of entries, the kernel sends up to > TCA_ACT_MAX_PRIO (defined to 32 in kernel) entries in an event to user > space. However it does not consider that the action sizes may vary and > require different skb sizes. > > For example, consider the following script adding 32 entries with all > supported skbedit parameters and cookie (in order to maximize netlink > messages size): ... > patch 1 adds callback in tc_action_ops of skbedit action, which calculates > the action size, and passes size to tcf_add_notify()/tcf_del_notify(). > > patch 2 updates the TDC test suite with relevant skbedit test cases. Series applied and queued up for -stable, thanks.