]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: dsa: add more extack messages in dsa_user_add_cls_matchall_mirred()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 23 Oct 2024 13:52:49 +0000 (16:52 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 00:33:54 +0000 (17:33 -0700)
commit4cc4394a897eae27405396d1d756a9f75a3addc3
treeb080ff05b1e772fb8cddd24658b69d4bdede918a
parentc11ace14d9db3a2e2e7b473ff8f79c7b1c998191
net: dsa: add more extack messages in dsa_user_add_cls_matchall_mirred()

Do not leave -EOPNOTSUPP errors without an explanation. It is confusing
for the user to figure out what is wrong otherwise.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20241023135251.1752488-5-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/user.c