aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_fdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bridge/br_fdb.c')
-rw-r--r--net/bridge/br_fdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c
index 33e8f23acddd..c5f5a4a933f4 100644
--- a/net/bridge/br_fdb.c
+++ b/net/bridge/br_fdb.c
@@ -570,8 +570,7 @@ static void fdb_notify(struct net_bridge *br,
570 rtnl_notify(skb, net, 0, RTNLGRP_NEIGH, NULL, GFP_ATOMIC); 570 rtnl_notify(skb, net, 0, RTNLGRP_NEIGH, NULL, GFP_ATOMIC);
571 return; 571 return;
572errout: 572errout:
573 if (err < 0) 573 rtnl_set_sk_err(net, RTNLGRP_NEIGH, err);
574 rtnl_set_sk_err(net, RTNLGRP_NEIGH, err);
575} 574}
576 575
577/* Dump information about entries, in response to GETNEIGH */ 576/* Dump information about entries, in response to GETNEIGH */