]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/bridge/br_private.h
net/bridge: Add 'hairpin' port forwarding mode
authorFischer, Anna <anna.fischer@hp.com>
Thu, 13 Aug 2009 06:55:16 +0000 (06:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 23:26:11 +0000 (16:26 -0700)
commit3982d3d28b02bed5312015762fe2112ccbaf9051
tree783332d9c3983924dfc102b8a2f8147ad5bd078c
parent8dd07086a1f8048428d33a1917b6209978750cb1
net/bridge: Add 'hairpin' port forwarding mode

This patch adds a 'hairpin' (also called 'reflective relay') mode
port configuration to the Linux Ethernet bridge kernel module.
A bridge supporting hairpin forwarding mode can send frames back
out through the port the frame was received on.

Hairpin mode is required to support basic VEPA (Virtual
Ethernet Port Aggregator) capabilities.

You can find additional information on VEPA here:
http://tech.groups.yahoo.com/group/evb/
http://www.ieee802.org/1/files/public/docs2009/new-hudson-vepa_seminar-20090514d.pdf
http://www.internet2.edu/presentations/jt2009jul/20090719-congdon.pdf

An additional patch 'bridge-utils: Add 'hairpin' port forwarding mode'
is provided to allow configuring hairpin mode from userspace tools.

Signed-off-by: Paul Congdon <paul.congdon@hp.com>
Signed-off-by: Anna Fischer <anna.fischer@hp.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_forward.c
net/bridge/br_if.c
net/bridge/br_private.h
net/bridge/br_sysfs_if.c