diff options
author | Girish Moodalbail <girish.moodalbail@oracle.com> | 2017-08-09 11:09:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-11 23:45:02 +0300 |
commit | c5ebc4409f2bb2c0b053c204ba197c6b71527eed (patch) | |
tree | 1dc3df096515f9e0c369af693e19fcab3a04002e /include/net/pkt_sched.h | |
parent | b50db91987fb1d4288ac8fdb7ba7487b352be6b5 (diff) | |
download | linux-c5ebc4409f2bb2c0b053c204ba197c6b71527eed.tar.xz |
geneve: use netlink_ext_ack for error reporting in rtnl operations
Add extack error messages for failure paths while creating/modifying
geneve devices. Once extack support is added to iproute2, more
meaningful and helpful error messages will be displayed making it easy
for users to discern what went wrong.
Before:
=======
$ ip link add gen1 address 0:1:2:3:4:5:6 type geneve id 200 \
remote 192.168.13.2
RTNETLINK answers: Invalid argument
After:
======
$ ip link add gen1 address 0:1:2:3:4:5:6 type geneve id 200 \
remote 192.168.13.2
Error: Provided link layer address is not Ethernet
Also, netdev_dbg() calls used to log errors associated with Netlink
request have been removed.
Signed-off-by: Girish Moodalbail <girish.moodalbail@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pkt_sched.h')
0 files changed, 0 insertions, 0 deletions