diff options
author | Florian Westphal <fw@strlen.de> | 2017-10-10 17:10:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-10 13:16:02 -0700 |
commit | b88d12e4a4ff5b99dcaf9b35a30ad2597cb2fd8a (patch) | |
tree | 7abbfd46f966d8d6509820dabe20fc6fd02bc49a /drivers/clk/mmp | |
parent | 8f88f74a1641f57607a2417669e0e02b768796b4 (diff) | |
download | talos-obmc-linux-b88d12e4a4ff5b99dcaf9b35a30ad2597cb2fd8a.tar.gz talos-obmc-linux-b88d12e4a4ff5b99dcaf9b35a30ad2597cb2fd8a.zip |
rtnetlink: bridge: use ext_ack instead of printk
We can now piggyback error strings to userspace via extended acks
rather than using printk.
Before:
bridge fdb add 01:02:03:04:05:06 dev br0 vlan 4095
RTNETLINK answers: Invalid argument
After:
bridge fdb add 01:02:03:04:05:06 dev br0 vlan 4095
Error: invalid vlan id.
v3: drop 'RTM_' prefixes, suggested by David Ahern, they
are not useful, the add/del in bridge command line is enough.
Also reword error in response to malformed/bad vlan id attribute
size.
Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clk/mmp')
0 files changed, 0 insertions, 0 deletions