Messages in this thread | | | Date | Sat, 07 Jul 2018 20:05:26 +0900 (KST) | Subject | Re: [PATCH net] net: bridge: fix br_vlan_get_{pvid,info} return values | From | David Miller <> |
| |
From: Arnd Bergmann <arnd@arndb.de> Date: Fri, 6 Jul 2018 14:44:02 +0200
> These two functions return the regular -EINVAL failure in the normal > code path, but return a nonstandard '-1' error otherwise, which gets > interpreted as -EPERM. > > Let's change it to -EINVAL for the dummy functions as well. > > Fixes: 4d4fd36126d6 ("net: bridge: Publish bridge accessor functions") > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Applied, thanks Arnd.
| |