bareudp: print error message when command fails
authorTaehee Yoo <ap420073@gmail.com>
Sun, 8 Mar 2020 01:19:17 +0000 (01:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 04:22:29 +0000 (21:22 -0700)
commitc46a49a45c865350d6051df555034b86a2ac72ff
tree05348d98bc927d62343d8d4fce7d49fe6c5b98f7
parenteea45da4036d6d2dc3b7d2f870a0892b72aeeba4
bareudp: print error message when command fails

When bareudp netlink command fails, it doesn't print any error message.
So, users couldn't know the exact reason.
In order to tell the exact reason to the user, the extack error message
is used in this patch.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bareudp.c