]> git.baikalelectronics.ru Git - 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)
commite5d5cabb5cac54a4a2bc9732a52e53d50ba5c3ba
treec1763a0571fce01b042b6bb98a497bcb6ce404ab
parent3377ca05edabbac39642234e5b14a8009ca07499
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