net: bridge: mdb: use extack in br_mdb_parse()
authorNikolay Aleksandrov <nikolay@nvidia.com>
Tue, 22 Sep 2020 07:30:12 +0000 (10:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Sep 2020 20:24:34 +0000 (13:24 -0700)
commit2ac95dfe25229b13dda95b404004b9c93815c7f9
treec043f628a116cf83bf6c43e454e1d9eb2ec7d84f
parent35c52c5c88d8496502b71b02c6754ced9e5cc882
net: bridge: mdb: use extack in br_mdb_parse()

We can drop the pr_info() calls and just use extack to return a
meaningful error to user-space when br_mdb_parse() fails.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c