]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_pedit: Add extack message for offload failure
authorIdo Schimmel <idosch@nvidia.com>
Thu, 7 Apr 2022 07:35:26 +0000 (10:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2022 12:45:43 +0000 (13:45 +0100)
commit2cf934e999cafb13200cd5962284b7b96fba7db7
treee6f26bd452a90c98a015d8a49c1054718fa934a3
parentdc334a697a5749aba99074b6a5bd9b2a009b12bc
net/sched: act_pedit: Add extack message for offload failure

For better error reporting to user space, add an extack message when
pedit action offload fails.

Currently, the failure cannot be triggered, but add a message in case
the action is extended in the future to support more than set/add
commands.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_pedit.c