diff options
| author | 2017-10-10 17:10:04 +0200 | |
|---|---|---|
| committer | 2017-10-10 13:16:02 -0700 | |
| commit | b88d12e4a4ff5b99dcaf9b35a30ad2597cb2fd8a (patch) | |
| tree | 7abbfd46f966d8d6509820dabe20fc6fd02bc49a /include/uapi/linux/openvswitch.h | |
| parent | selftests: rtnetlink: test RTM_GETNETCONF (diff) | |
| download | linux-dev-b88d12e4a4ff5b99dcaf9b35a30ad2597cb2fd8a.tar.xz linux-dev-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 'include/uapi/linux/openvswitch.h')
0 files changed, 0 insertions, 0 deletions
