]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rtnetlink: return the correct error code
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Wed, 30 Nov 2016 08:37:34 +0000 (16:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2016 19:36:03 +0000 (14:36 -0500)
commit2934c9dbd385c6be08a1f4a33820d132979d61a7
treec1763a0571fce01b042b6bb98a497bcb6ce404ab
parent60602982720f3a77366ee3e493a6e3d15e7e84f5
rtnetlink: return the correct error code

Before this patch, function ndo_dflt_fdb_dump() will always return code
from uc fdb dump. The reture code of mc fdb dump is lost.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c