vxlan: change vxlan_[config_]validate() to use netlink_ext_ack for error reporting
authorGirish Moodalbail <girish.moodalbail@oracle.com>
Fri, 11 Aug 2017 22:20:59 +0000 (15:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 03:00:29 +0000 (20:00 -0700)
commit653ef6a3e4af21fda8e73061d4f1b069a9982301
tree5d3618e2d44a39b6c11f5b1c62a1a2776cd274f6
parentcc8f1a3979a06db9bb1bb1f8b9bd3128b82c574d
vxlan: change vxlan_[config_]validate() to use netlink_ext_ack for error reporting

The kernel log is not where users expect error messages for netlink
requests; as we have extended acks now, we can replace pr_debug() with
NL_SET_ERR_MSG_ATTR().

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Girish Moodalbail <girish.moodalbail@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c