|
For such patches as bridge-nf-0.0.10-against-2.4.20.diff or
bridge-nf-0.0.8-against-2.4.19.patch,
it can only filter ip packet and pass the ip packet encapsulated in 802.1q transparently. Now I want to filter the ip packet encapsulated in 802.1q,I
have two ways.
First, if we know what vlan_ids need to bridge,we can use vconfig add the sub-interface for each physical interface, and then add them into the bridge, it will works. But,if we don't assure what vlan_ids need to bridge just because there are so many vlan_ids that it is not a practical way to do or it is difficult to supply what vlan_ids need to bridge,how can we solve such a situation? I supply a modification of
bridge-nf-0.0.8-against-2.4.19.patch to accomplish my propose.
But I am not sure about whether I had broken some implicit rules for the use of skb->cb, I had planned to use the skb->__unused but I occured the same problem. |
bridge-nf-0.0.8-against-2.4.19-modified-william.diff.gz
Description: Binary data
