net: sched: refine extack messages in tcf_change_indev
authorGuillaume Nault <gnault@redhat.com>
Mon, 23 Mar 2020 20:48:47 +0000 (21:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 02:52:31 +0000 (19:52 -0700)
commite4a58ef3ce4e7bd20c22390b13799c8f1c498780
tree3803b26a64ac0bf2c51803bc7aa4660c5284dc58
parent6a864730aef830fa6dc1cda001c2f4418e151759
net: sched: refine extack messages in tcf_change_indev

Add an error message when device wasn't found.
While there, also set the bad attribute's offset in extack.

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h