diff options
author | stephen hemminger <shemminger@vyatta.com> | 2011-10-03 18:14:46 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-06 15:27:56 -0400 |
commit | 515853ccecc6987dfb8ed809dd8bf8900286f29e (patch) | |
tree | ddd361a7bacb3d37a95f6101ef541af91c01d9ba /net/dcb | |
parent | 45b58465acaa9d98354e7fa730e3172c5355da06 (diff) | |
download | linux-515853ccecc6987dfb8ed809dd8bf8900286f29e.tar.gz linux-515853ccecc6987dfb8ed809dd8bf8900286f29e.tar.bz2 linux-515853ccecc6987dfb8ed809dd8bf8900286f29e.zip |
bridge: allow forwarding some link local frames
This is based on an earlier patch by Nick Carter with comments
by David Lamparter but with some refinements. Thanks for their patience
this is a confusing area with overlap of standards, user requirements,
and compatibility with earlier releases.
It adds a new sysfs attribute
/sys/class/net/brX/bridge/group_fwd_mask
that controls forwarding of frames with address of: 01-80-C2-00-00-0X
The default setting has no forwarding to retain compatibility.
One change from earlier releases is that forwarding of group
addresses is not dependent on STP being enabled or disabled. This
choice was made based on interpretation of tie 802.1 standards.
I expect complaints will arise because of this, but better to follow
the standard than continue acting incorrectly by default.
The filtering mask is writeable, but only values that don't forward
known control frames are allowed. It intentionally blocks attempts
to filter control protocols. For example: writing a 8 allows
forwarding 802.1X PAE addresses which is the most common request.
Reported-by: David Lamparter <equinox@diac24.net>
Original-patch-by: Nick Carter <ncarter100@gmail.com>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Tested-by: Benjamin Poirier <benjamin.poirier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions