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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c
index 10b47d4cdfe4..c581f1200ef7 100644
--- a/net/bridge/br_fdb.c
+++ b/net/bridge/br_fdb.c
@@ -421,7 +421,7 @@ static int fdb_insert(struct net_bridge *br, struct net_bridge_port *source,
421 return 0; 421 return 0;
422 br_warn(br, "adding interface %s with same address " 422 br_warn(br, "adding interface %s with same address "
423 "as a received packet\n", 423 "as a received packet\n",
424 source->dev->name); 424 source ? source->dev->name : br->dev->name);
425 fdb_delete(br, fdb); 425 fdb_delete(br, fdb);
426 } 426 }
427 427