bridge: hide SMAC/DMAC warning

This commit is contained in:
andy.padavan
2012-05-29 06:22:23 +08:00
parent 5d7e7b3d19
commit 9c9fd79e67

View File

@@ -413,10 +413,12 @@ void br_fdb_update(struct net_bridge *br, struct net_bridge_port *source,
if (likely(fdb)) {
/* attempt to update an entry for a local interface */
if (unlikely(fdb->is_local)) {
#if 0
if (net_ratelimit())
printk(KERN_WARNING "%s: received packet with "
"own address as source address\n",
source->dev->name);
#endif
} else {
/* fastpath: update of existing entry */
fdb->dst = source;