[Bridge] [PATCH net-next v2 2/2] net: bridge: reject DSA-enabled master netdevices as bridge members

2015-01-16 Thread Florian Fainelli
DSA-enabled master network devices with a switch tagging protocol should strip the protocol specific format before handing the frame over to higher layer. When adding such a DSA master network device as a bridge member, we go through the following code path when receiving a frame: __netif_receive

[Bridge] [PATCH net-next v2 1/2] net: ipv4: handle DSA enabled master network devices

2015-01-16 Thread Florian Fainelli
The logic to configure a network interface for kernel IP auto-configuration is very simplistic, and does not handle the case where a device is stacked onto another such as with DSA. This causes the kernel not to open and configure the master network device in a DSA switch tree, and therefore slave

[Bridge] [PATCH net-next v2 0/2] net: DSA fixes for bridge and ip-autoconf

2015-01-16 Thread Florian Fainelli
Hi David, These two patches address some real world use cases of the DSA master and slave network devices. You have already seen patch 1 previously and you rejected it since my explanations were not good enough to provide a justification as to why it is useful, hopefully this time my explanation