aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorScott Feldman <sfeldma@gmail.com>2015-02-25 20:15:38 -0800
committerDavid S. Miller <davem@davemloft.net>2015-02-26 11:21:57 -0500
commite47172ab7e4176883077b454286bbd5b87b5f488 (patch)
tree8f323487c0f38547ad0231afdcb1e633994bcd31 /net/unix/af_unix.c
parentrocker: rename lport to pport (diff)
downloadwireguard-linux-e47172ab7e4176883077b454286bbd5b87b5f488.tar.xz
wireguard-linux-e47172ab7e4176883077b454286bbd5b87b5f488.zip
rocker: put port in FORWADING state after leaving bridge
Cleanup the port forwarding state transitions for the cases when the port joins or leaves a bridge, or is brought admin UP or DOWN. When port is bridged, we can rely on bridge driver putting port in correct state using STP callback into port driver, regardless if bridge is enabled for STP or not. When port is not bridged, we can reuse some of the STP code to enabled or disable forwarding depending on UP or DOWN. Tested by trying all the transitions from bridge/not bridge, and UP/DOWN, and verifying port is in the correct forwarding state after each transition. Signed-off-by: Scott Feldman <sfeldma@gmail.com> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions