History log of /freebsd/sys/net/if_bridge.c (Results 251 – 275 of 497)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 82056f42 26-Jul-2007 Andrew Thompson <thompsa@FreeBSD.org>

Avoid holding the softc lock when using copyout().

Reported by: dfr
Approved by: re (rwatson)


# 22dcc3c1 13-Jun-2007 Andrew Thompson <thompsa@FreeBSD.org>

Add the vlan tag to the bridge route table. This allows a vlan trunk to be
bridged, previously legitimate traffic was not passed as the bridge could not
tell that it was on a different Ethernet segme

Add the vlan tag to the bridge route table. This allows a vlan trunk to be
bridged, previously legitimate traffic was not passed as the bridge could not
tell that it was on a different Ethernet segment.

All non-tagged traffic is treated as vlan1 as per IEEE 802.1Q-2003

show more ...


# 5adfb0cc 30-May-2007 Andrew Thompson <thompsa@FreeBSD.org>

Remove a KASSERT intended to help the developer, the condition is no longer
valid since the span code was added.

PR: kern/113170
MFC after: 1 week


# 6c655efc 19-Mar-2007 Andrew Thompson <thompsa@FreeBSD.org>

etherbroadcastaddr is now unused.


# 82912c1f 19-Mar-2007 Andrew Thompson <thompsa@FreeBSD.org>

M_BCAST & M_MCAST are now set by ether_input before passing to the bridge.


# 3d0a65c8 19-Mar-2007 Roman Kurakin <rik@FreeBSD.org>

Give a chance for packet to appear with a correct input interfaces
in case of multiple interfaces with the same MAC in the same bridge.
This commit do not solve the entire problem. Only case where pa

Give a chance for packet to appear with a correct input interfaces
in case of multiple interfaces with the same MAC in the same bridge.
This commit do not solve the entire problem. Only case where packet
arrived from such interface.

PR: kern/109815
MFC after: 7 days
Submitted by: Eygene Ryabinkin and rik@
Discussed with: bms@, thompsa@, yar@

show more ...


# 8bc736d0 14-Mar-2007 Andrew Thompson <thompsa@FreeBSD.org>

Properly move the setting of bstp_linkstate_p to the bridgestp module.


# e5bda9fb 09-Mar-2007 Andrew Thompson <thompsa@FreeBSD.org>

Change the passing of callbacks to a struct in case this needs to be extended in the future.


# 9c68675b 23-Feb-2007 Andrew Thompson <thompsa@FreeBSD.org>

Move the lock init until after if_alloc in case the allocation fails and we
free the softc and return.

MFC after: 3 days


Revision tags: release/6.2.0_cvs, release/6.2.0
# 78709605 12-Dec-2006 Andrew Thompson <thompsa@FreeBSD.org>

These days P2P means peer-2-peer (also well known from serveral filesharing
protocols) while PointToPoint has been PtP links. Change the variables
accordingly while the code is still fresh and undocu

These days P2P means peer-2-peer (also well known from serveral filesharing
protocols) while PointToPoint has been PtP links. Change the variables
accordingly while the code is still fresh and undocumented.

Requested by: bz

show more ...


# daacddca 04-Dec-2006 Shteryana Shopova <syrinx@FreeBSD.org>

Add two new flags to if_bridge(4) indicating whether the edge flag
of the bridge port and path cost have been administratively set or
calculated automatically by RSTP.

Make sure to transition from n

Add two new flags to if_bridge(4) indicating whether the edge flag
of the bridge port and path cost have been administratively set or
calculated automatically by RSTP.

Make sure to transition from non-edge to edge when the port goes down
and the edge flag was manually set before.
This is needed to comply with the condition
((!portEnabled && AdminEdge) || ....)
in the Bridge Detection State Machine (IEE802.1D-2004, p. 171).

Reviewed by: thompsa
Approved by: bz (mentor)

show more ...


# b8f45801 03-Dec-2006 Shteryana Shopova <syrinx@FreeBSD.org>

Fix SIOCGDRVSPEC/BRDGGIFSSTP ioctl: make it copyin() the user
provided buffer length before trying to use it.

Reviewed by: thompsa
Approved by: bz (mentor)
MFC after: 3 days


# 6c32e05c 27-Nov-2006 Andrew Thompson <thompsa@FreeBSD.org>

Sync with the OpenBSD port of RSTP
- use flags rather than sperate ioctls for edge, p2p
- implement p2p and autop2p flags
- define large pathcost constant as ULL
- show bridgeid and rootid in ifc

Sync with the OpenBSD port of RSTP
- use flags rather than sperate ioctls for edge, p2p
- implement p2p and autop2p flags
- define large pathcost constant as ULL
- show bridgeid and rootid in ifconfig

Obtained from: Reyk Floeter <reyk@openbsd.org>

show more ...


# 071fff62 26-Nov-2006 Andrew Thompson <thompsa@FreeBSD.org>

use two stage creation of stp ports, this means that the stp variables can be
set before the port is marked STP and they will no longer be overwrittten


# 3df7fad0 09-Nov-2006 Andrew Thompson <thompsa@FreeBSD.org>

Add a new address cache type called sticky. On an interface marked sticky any
address learned by the bridge is made permanent, the address will not age out
and most importantly will not migrate to an

Add a new address cache type called sticky. On an interface marked sticky any
address learned by the bridge is made permanent, the address will not age out
and most importantly will not migrate to another interface.

This can be used to stop mac address poisoning or clients roaming in much the
same way as static entries without the hassle of preloading the table.

show more ...


# acd3428b 06-Nov-2006 Robert Watson <rwatson@FreeBSD.org>

Sweep kernel replacing suser(9) calls with priv(9) calls, assigning
specific privilege names to a broad range of privileges. These may
require some future tweaking.

Sponsored by: nCircle

Sweep kernel replacing suser(9) calls with priv(9) calls, assigning
specific privilege names to a broad range of privileges. These may
require some future tweaking.

Sponsored by: nCircle Network Security, Inc.
Obtained from: TrustedBSD Project
Discussed on: arch@
Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri,
Alex Lyashkov <umka at sevcity dot net>,
Skip Ford <skip dot ford at verizon dot net>,
Antoine Brodin <antoine dot brodin at laposte dot net>

show more ...


# 67be76c0 05-Nov-2006 Christian S.J. Peron <csjp@FreeBSD.org>

Fix possible leak when bridge is in monitor mode. Use m_freem() which will
free the entire chain, instead of using m_free() which will free just the
mbuf that was passed.

Discussed with: thompsa
MFC

Fix possible leak when bridge is in monitor mode. Use m_freem() which will
free the entire chain, instead of using m_free() which will free just the
mbuf that was passed.

Discussed with: thompsa
MFC after: 3 days

show more ...


# 59ee2183 04-Nov-2006 Andrew Thompson <thompsa@FreeBSD.org>

When the packet is for the bridge then note which interface to send the reply
to, previously it was always broadcast to all interfaces (a bug). This is
useful when the bridge is the default gateway a

When the packet is for the bridge then note which interface to send the reply
to, previously it was always broadcast to all interfaces (a bug). This is
useful when the bridge is the default gateway and vlans are used to isolate
each client, the reply is now kept private to the vlan which the client
resides.

Reported by: Jon Otterholm
Tested by: Jon Otterholm
MFC after: 3 days

show more ...


# 3fab7669 01-Nov-2006 Andrew Thompson <thompsa@FreeBSD.org>

Bring in support for the Rapid Spanning Tree Protocol (802.1w).

RSTP provides faster spanning tree convergence, the protocol will exchange
information with neighboring switches to quickly transition

Bring in support for the Rapid Spanning Tree Protocol (802.1w).

RSTP provides faster spanning tree convergence, the protocol will exchange
information with neighboring switches to quickly transition to forwarding
without creating loops. The code will default to RSTP mode but will downgrade
any port connected to a legacy STP network so is fully backward compatible.

Reviewed by: syrinx
Tested by: syrinx

show more ...


# 8408ecd6 09-Oct-2006 Andrew Thompson <thompsa@FreeBSD.org>

Use LIST_FOREACH_SAFE instead of a hand rolled version.


# 0a6f8a50 22-Sep-2006 Andrew Thompson <thompsa@FreeBSD.org>

Revert r1.80 as the ethernet header was inadvertently stripped from ARP
packets. Reimplement this correctly and use a sysctl that defaults to off so
the user doesnt get any suprises if ipfw blocks th

Revert r1.80 as the ethernet header was inadvertently stripped from ARP
packets. Reimplement this correctly and use a sysctl that defaults to off so
the user doesnt get any suprises if ipfw blocks the ARP packet.

MFC after: 3 days

show more ...


# 781dd9ae 17-Sep-2006 Andrew Thompson <thompsa@FreeBSD.org>

Rearrange things so that ARP packets can be filtered or rate limited with IPFW.

Requested by: Jon Otterholm
Tested by: Jon Otterholm


# 4ec528c7 25-Aug-2006 Andrew Thompson <thompsa@FreeBSD.org>

The bridge cant hear its own transmissions so set IFF_SIMPLEX.

PR: kern/102361
Tested by: Radim Kolar <hsn@netmag.cz>
MFC after: 3 days


# 705e3bd6 17-Aug-2006 Andrew Thompson <thompsa@FreeBSD.org>

Remove unneeded asserts from bridge_ioctl_* since these are just
extensions of bridge_ioctl() which has the correct locking.


# ff2cdcff 17-Aug-2006 Andrew Thompson <thompsa@FreeBSD.org>

Remove two lock asserts that are unneeded due to subsequent unlocks.


1...<<11121314151617181920