]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: add local MAC address to forwarding table (v2)
authorstephen hemminger <shemminger@vyatta.com>
Thu, 8 Dec 2011 07:17:49 +0000 (07:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 00:40:28 +0000 (19:40 -0500)
commit96f715962d8b25c8d5e6d4485f6c1d45d32ee77a
treee08befb899b76681fac2af8acb13150b0b74d44f
parenteffc854de1a52331fcf8423c32a5efb7b79f43ef
bridge: add local MAC address to forwarding table (v2)

If user has configured a MAC address that is not one of the existing
ports of the bridge, then we need to add a special entry in the forwarding
table. This forwarding table entry has no outgoing port so it has to be
treated a little differently. The special entry is reported by the netlink
interface with ifindex of bridge, but ignored by the old interface since there
is no usable way to put it in the ABI.

Reported-by: Koki Sanagi <sanagi.koki@jp.fujitsu.com>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_fdb.c
net/bridge/br_forward.c
net/bridge/br_private.h