net/sched: act_mirred: Add extack message for offload failure
authorIdo Schimmel <idosch@nvidia.com>
Thu, 7 Apr 2022 07:35:24 +0000 (10:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2022 12:45:43 +0000 (13:45 +0100)
commit4dcaa50d02927f045c8653ba992aadc7c94ee71a
tree1a1f04e0475dae80f4633793ea5ef2c5f6c118a6
parent69642c2ab2f553fd8c4c121fcdf3b3054c727e86
net/sched: act_mirred: Add extack message for offload failure

For better error reporting to user space, add an extack message when
mirred 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 ingress/egress
mirror/redirect.

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_mirred.c