cvs commit: src/sys/net if_bridge.c

2008-09-07 Thread Andrew Thompson
thompsa 2008-09-08 03:18:00 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: SVN rev 182861 on 2008-09-08 03:18:00Z by thompsa Revert r180140 for 6.4 and 7.1 where the bridge mac address is taken from the first

cvs commit: src/sys/net if_bridge.c

2008-09-07 Thread Andrew Thompson
thompsa 2008-09-08 03:18:00 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_bridge.c Log: SVN rev 182861 on 2008-09-08 03:18:00Z by thompsa Revert r180140 for 6.4 and 7.1 where the bridge mac address is taken from the first

cvs commit: src/sys/net if_bridge.c

2008-08-16 Thread Andrew Thompson
thompsa 2008-08-16 23:59:17 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: SVN rev 181795 on 2008-08-16 23:59:17Z by thompsa LRO combined packets can actually be bridged as long as all the interfaces also support TSO, this can always be

cvs commit: src/sys/net if_bridge.c

2008-08-02 Thread Andrew Thompson
thompsa 2008-08-03 03:46:58 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_bridge.c Log: SVN rev 181225 on 2008-08-03 03:46:58Z by thompsa MFC r180220 Be smarter about disabling interface capabilities. TOE/TSO/TXCSUM will

cvs commit: src/sys/net if_bridge.c

2008-08-02 Thread Andrew Thompson
thompsa 2008-08-03 05:00:46 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: SVN rev 181227 on 2008-08-03 05:00:46Z by thompsa MFC r180140 Set bridge MAC addresses to the MAC address of their first interface

cvs commit: src/sys/net if_bridge.c

2008-07-08 Thread Philip Paeps
philip 2008-07-08 09:54:19 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_bridge.c Log: SVN rev 180364 on 2008-07-08 09:54:19Z by philip MFC r180140: Set bridge MAC addresses to the MAC address of their first interface

cvs commit: src/sys/net if_bridge.c

2008-07-03 Thread Andrew Thompson
thompsa 2008-07-03 15:58:30 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: SVN rev 180220 on 2008-07-03 15:58:30Z by thompsa Be smarter about disabling interface capabilities. TOE/TSO/TXCSUM will only be disabled if one (or more) of the

cvs commit: src/sys/net if_bridge.c

2008-07-01 Thread Philip Paeps
philip 2008-07-01 08:14:58 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: SVN rev 180140 on 2008-07-01 08:14:58Z by philip Set bridge MAC addresses to the MAC address of their first interface unless locally configured. This is more in

cvs commit: src/sys/net if_bridge.c

2008-06-06 Thread Andrew Thompson
thompsa 2008-06-06 21:57:28 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: SVN rev 179627 on 2008-06-06 21:57:28Z by thompsa MFC r174749, r175396, r175419, r175432 - Simplify the error handling - Nuke licence

cvs commit: src/sys/net if_bridge.c if_bridgevar.h src/sbin/ifconfig ifbridge.c ifconfig.8

2008-04-09 Thread Andrew Thompson
thompsa 2008-04-10 04:01:27 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_bridge.c if_bridgevar.h sbin/ifconfigifbridge.c ifconfig.8 Log: MFC if_bridge.c r1.106, if_bridgevar.h r1.24 ifbridge.c r1.12, ifconfig.8

cvs commit: src/sys/net if_bridge.c

2008-04-09 Thread Andrew Thompson
thompsa 2008-04-10 05:03:55 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_bridge.c Log: Sync to HEAD. - Simplify the error handling - Nuke licence clause 3 4 - Drop frames to any of the reserved multicast addresses -

cvs commit: src/sys/net if_bridge.c

2008-01-18 Thread Andrew Thompson
thompsa 2008-01-18 09:34:10 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Remove a chunk of duplicated code, test the destination address against the bridge the same way we check member interfaces. Revision ChangesPath 1.112

cvs commit: src/sys/net if_bridge.c

2008-01-17 Thread Andrew Thompson
thompsa 2008-01-17 09:46:17 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Sync from OpenBSD r1.118, nuke clause 3 4. Revision ChangesPath 1.110 +0 -5 src/sys/net/if_bridge.c ___

cvs commit: src/sys/net if_bridge.c

2008-01-17 Thread Andrew Thompson
thompsa 2008-01-18 00:19:10 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: IEEE 802.1D-2004 states, frames containing any of the group MAC Addresses specified in Table 7-10 in their destination address field shall not be relayed by the

cvs commit: src/sys/net if_bridge.c

2007-12-20 Thread Andrew Thompson
thompsa 2007-12-21 05:29:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_bridge.c Log: MFC r1.108 When the bridge has an address and a packet comes in for it then drop it if the link has been marked discarding by Spanning

cvs commit: src/sys/net if_bridge.c

2007-12-20 Thread Andrew Thompson
thompsa 2007-12-21 05:30:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.108 When the bridge has an address and a packet comes in for it then drop it if the link has been marked discarding by Spanning

cvs commit: src/sys/net if_bridge.c

2007-12-20 Thread Andrew Thompson
thompsa 2007-12-21 05:30:47 UTC FreeBSD src repository Modified files:(Branch: RELENG_6_3) sys/net if_bridge.c Log: MFC r1.108 When the bridge has an address and a packet comes in for it then drop it if the link has been marked discarding by Spanning

cvs commit: src/sys/net if_bridge.c

2007-12-18 Thread Andrew Thompson
thompsa 2007-12-18 09:13:04 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Simplify the error handling and use the dereferenced sc-sc_ifp pointer. Revision ChangesPath 1.109 +26 -44src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2007-12-17 Thread Andrew Thompson
thompsa 2007-12-18 07:04:50 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: When the bridge has an address and a packet comes in for it then drop it if the link has been marked discarding by Spanning Tree. This would cause the bridge to see

cvs commit: src/sys/net if_bridge.c

2007-10-19 Thread Andrew Thompson
thompsa 2007-10-20 02:10:10 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Use ETHER_BPF_MTAP so that the vlan tags are visible to bpf(4) when bridging a vlan trunk. Discussed with: csjp MFC after: 3 days

cvs commit: src/sys/net if_bridge.c src/share/man/man4 if_bridge.4

2007-10-11 Thread Andrew Thompson
thompsa 2007-10-11 20:28:53 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c share/man/man4 if_bridge.4 Log: MFC if_bridge.c r1.103, if_bridge.4 r1.29 Allow additional packet filtering on the physical interface

cvs commit: src/sys/net if_bridge.c if_bridgevar.h

2007-08-06 Thread Andrew Thompson
thompsa 2007-08-06 10:00:40 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c if_bridgevar.h Log: MFC if_bridge.c r1.101, if_bridgevar.h r1.22 Avoid holding the softc lock when using copyout(). Revision Changes

cvs commit: src/sys/net if_bridge.c if_bridgevar.h if_lagg.c

2007-07-26 Thread Andrew Thompson
thompsa 2007-07-26 20:30:18 UTC FreeBSD src repository Modified files: sys/net if_bridge.c if_bridgevar.h if_lagg.c Log: Avoid holding the softc lock when using copyout(). Reported by:dfr Approved by:re (rwatson) Revision ChangesPath 1.101

Re: cvs commit: src/sys/net if_bridge.c if_bridgevar.h src/sbin/ifconfig ifbridge.c

2007-07-04 Thread Slawa Olhovchenkov
On Sun, Jul 01, 2007 at 10:24:48AM +0100, Bruce M. Simpson wrote: Slawa Olhovchenkov wrote: On Wed, Jun 13, 2007 at 06:58:04PM +, Andrew Thompson wrote: All non-tagged traffic is treated as vlan1 as per IEEE 802.1Q-2003 Common practice: non-tagged traffic is treated as

Re: cvs commit: src/sys/net if_bridge.c if_bridgevar.h src/sbin/ifconfig ifbridge.c

2007-07-01 Thread Slawa Olhovchenkov
On Wed, Jun 13, 2007 at 06:58:04PM +, Andrew Thompson wrote: thompsa 2007-06-13 18:58:04 UTC FreeBSD src repository Modified files: sys/net if_bridge.c if_bridgevar.h sbin/ifconfigifbridge.c Log: Add the vlan tag to the bridge route table.

Re: cvs commit: src/sys/net if_bridge.c if_bridgevar.h src/sbin/ifconfig ifbridge.c

2007-07-01 Thread Bruce M. Simpson
Slawa Olhovchenkov wrote: On Wed, Jun 13, 2007 at 06:58:04PM +, Andrew Thompson wrote: All non-tagged traffic is treated as vlan1 as per IEEE 802.1Q-2003 Common practice: non-tagged traffic is treated as native vlan. I'm confused now. Is this practice different from what the

Re: cvs commit: src/sys/net if_bridge.c if_bridgevar.h src/sbin/ifconfig ifbridge.c

2007-07-01 Thread Arne Schwabe
Bruce M. Simpson schrieb: Slawa Olhovchenkov wrote: On Wed, Jun 13, 2007 at 06:58:04PM +, Andrew Thompson wrote: All non-tagged traffic is treated as vlan1 as per IEEE 802.1Q-2003 Common practice: non-tagged traffic is treated as native vlan. I'm confused now. Is this

cvs commit: src/sys/net if_bridge.c if_bridgevar.h src/sbin/ifconfig ifbridge.c

2007-06-13 Thread Andrew Thompson
thompsa 2007-06-13 18:58:04 UTC FreeBSD src repository Modified files: sys/net if_bridge.c if_bridgevar.h sbin/ifconfigifbridge.c Log: Add the vlan tag to the bridge route table. This allows a vlan trunk to be bridged, previously legitimate traffic

Re: cvs commit: src/sys/net if_bridge.c if_bridgevar.h src/sbin/ifconfig ifbridge.c

2007-06-13 Thread Bruce M. Simpson
Andrew Thompson wrote: Log: 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. Very cool. Thanks for doing this. All

Re: cvs commit: src/sys/net if_bridge.c if_bridgevar.h src/sbin/ifconfig ifbridge.c

2007-06-13 Thread Bruce M. Simpson
Andrew Thompson wrote: I have priority frames mapped to vlan1 in bridge_rtupdate, as far as I can tell this is correct. 2325: bridge_rtupdate(...) 2334:/* 802.1p frames map to vlan 1 */ 2335:if (vlan == 0) 2336:vlan = 1; According to the 802.1q spec this is

cvs commit: src/sys/net if_bridge.c

2007-06-05 Thread Andrew Thompson
thompsa 2007-06-06 00:59:20 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.99 Remove a KASSERT intended to help the developer, the condition is no longer valid since the span code was added. Revision

cvs commit: src/sys/net if_bridge.c

2007-05-30 Thread Andrew Thompson
thompsa 2007-05-30 19:39:55 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: 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

cvs commit: src/sys/net if_bridge.c

2007-03-25 Thread Roman Kurakin
rik 2007-03-25 21:33:38 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC: -j 1.95 -j 1.96 rik 2007-03-18 23:28:53 UTC FreeBSD src repository Modified files: sys/net

Re: cvs commit: src/sys/net if_bridge.c

2007-03-25 Thread Roman Kurakin
Should I bother about RELENG_5? rik Roman Kurakin wrote: rik 2007-03-25 21:33:38 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC: -j 1.95 -j 1.96 rik 2007-03-18 23:28:53 UTC FreeBSD src

cvs commit: src/sys/net if_bridge.c

2007-03-18 Thread Roman Kurakin
rik 2007-03-18 23:28:53 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: 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

cvs commit: src/sys/net if_bridge.c

2007-02-25 Thread Andrew Thompson
thompsa 2007-02-26 00:33:06 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.93 Move the lock init until after if_alloc in case the allocation fails and we

cvs commit: src/sys/net if_bridge.c

2007-02-23 Thread Andrew Thompson
thompsa 2007-02-23 19:37:55 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: 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 ChangesPath 1.93

cvs commit: src/sys/net if_bridge.c

2007-01-17 Thread Andrew Thompson
thompsa 2007-01-18 02:02:03 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.82 Use LIST_FOREACH_SAFE instead of a hand rolled version. Revision ChangesPath 1.11.2.45 +4 -8

cvs commit: src/sys/net if_bridge.c

2006-12-06 Thread Shteryana Shopova
syrinx 2006-12-06 20:03:16 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC: rev. 1.90 if_bridge.c Fix SIOCGDRVSPEC/BRDGGIFSSTP ioctl: make it copyin() the user provided buffer length before trying to use it.

cvs commit: src/sys/net if_bridge.c

2006-12-03 Thread Shteryana Shopova
syrinx 2006-12-03 21:50:58 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Fix SIOCGDRVSPEC/BRDGGIFSSTP ioctl: make it copyin() the user provided buffer length before trying to use it. Reviewed by:thompsa Approved by:bz (mentor)

cvs commit: src/sys/net if_bridge.c

2006-11-08 Thread Christian S.J. Peron
csjp2006-11-08 16:28:34 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: Log: Fix possible leak when bridge is in monitor mode. Use m_freem() which will free the entire chain, instead of using m_free() which

cvs commit: src/sys/net if_bridge.c

2006-11-07 Thread Andrew Thompson
thompsa 2006-11-07 16:29:41 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.84 When the packet is for the bridge then note which interface to send the reply to, previously it was always broadcast to all

cvs commit: src/sys/net if_bridge.c

2006-11-05 Thread Christian S.J. Peron
csjp2006-11-05 17:56:25 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: 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

cvs commit: src/sys/net if_bridge.c

2006-11-04 Thread Andrew Thompson
thompsa 2006-11-04 10:40:59 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: 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

Re: cvs commit: src/sys/net if_bridge.c

2006-10-25 Thread Darren Reed
On Sat, Apr 29, 2006 at 05:37:25AM +, Andrew Thompson wrote: thompsa 2006-04-29 05:37:25 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Add support for fragmenting ipv4 packets. The packet filter may reassemble the ip

Re: cvs commit: src/sys/net if_bridge.c

2006-10-25 Thread Andrew Thompson
On Wed, Oct 25, 2006 at 05:53:02PM +, Darren Reed wrote: On Sat, Apr 29, 2006 at 05:37:25AM +, Andrew Thompson wrote: thompsa 2006-04-29 05:37:25 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Add support for fragmenting

cvs commit: src/sys/net if_bridge.c

2006-09-24 Thread Andrew Thompson
thompsa 2006-09-25 04:01:21 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.81 Revert r1.11.2.38 as the ethernet header was inadvertently stripped from ARP packets. Reimplement this correctly and use a

cvs commit: src/sys/net if_bridge.c

2006-09-22 Thread Andrew Thompson
thompsa 2006-09-22 21:57:52 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: 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

cvs commit: src/sys/net if_bridge.c

2006-09-20 Thread Andrew Thompson
thompsa 2006-09-20 21:26:19 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.80 Rearrange things so that ARP packets can be filtered or rate limited with IPFW. Approved by:re (kensmith) Revision

cvs commit: src/sys/net if_bridge.c

2006-09-17 Thread Andrew Thompson
thompsa 2006-09-17 08:20:56 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Rearrange things so that ARP packets can be filtered or rate limited with IPFW. Requested by: Jon Otterholm Tested by: Jon Otterholm Revision Changes

cvs commit: src/sys/net if_bridge.c

2006-08-27 Thread Andrew Thompson
thompsa 2006-08-28 02:53:22 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.79 The bridge cant hear its own transmissions so set IFF_SIMPLEX. Revision ChangesPath 1.11.2.37 +1 -1

cvs commit: src/sys/net if_bridge.c

2006-08-21 Thread Andrew Thompson
thompsa 2006-08-22 00:26:41 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.76 - 1.78 - Call bridge_span before dropping the lock - Tidy up unneeded lock asserts Revision ChangesPath

cvs commit: src/sys/net if_bridge.c

2006-08-17 Thread Andrew Thompson
thompsa 2006-08-17 10:18:31 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Call bridge_span before dropping the lock. MFC after: 5 days Revision ChangesPath 1.76 +2 -2 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2006-08-17 Thread Andrew Thompson
thompsa 2006-08-17 10:52:36 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Remove two lock asserts that are unneeded due to subsequent unlocks. Revision ChangesPath 1.77 +0 -2 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2006-08-17 Thread Andrew Thompson
thompsa 2006-08-17 11:16:02 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Remove unneeded asserts from bridge_ioctl_* since these are just extensions of bridge_ioctl() which has the correct locking. Revision ChangesPath 1.78

cvs commit: src/sys/net if_bridge.c

2006-08-01 Thread Andrew Thompson
thompsa 2006-08-01 10:03:52 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.67 Remove variables that are overridden by ether_ifattach(). Revision ChangesPath 1.11.2.35 +0 -3

cvs commit: src/sys/net if_bridge.c

2006-08-01 Thread Andrew Thompson
thompsa 2006-08-02 02:59:24 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Tell bridgestp that we are about to free the memory so it can cleanup. Revision ChangesPath 1.74 +3 -0 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2006-08-01 Thread Andrew Thompson
thompsa 2006-08-02 03:54:29 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: - Use the new bridgestp callback to once again flush our bridge routes when an interface is disabled. - Log port changes to syslog, defaulting to off Revision

cvs commit: src/sys/net if_bridge.c if_bridgevar.h if_ethersubr.c if_gif.c src/sys/netgraph ng_ether.c

2006-07-27 Thread Andrew Thompson
thompsa 2006-07-27 21:01:48 UTC FreeBSD src repository Modified files: sys/net if_bridge.c if_bridgevar.h if_ethersubr.c if_gif.c sys/netgraph ng_ether.c Log: Remove the dependency of bridgestp.h on if_bridgevar.h by moving a

cvs commit: src/sys/net if_bridge.c

2006-07-26 Thread Andrew Thompson
thompsa 2006-07-26 09:41:04 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Remove variables that are overridden by ether_ifattach(). This clears up any confusion especially as *if_output was pointed to a different function. Revision

cvs commit: src/sys/net if_bridge.c

2006-07-26 Thread Andrew Thompson
thompsa 2006-07-26 20:56:02 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Remove stp variables that are already initialised in bstp_attach(). Revision ChangesPath 1.70 +0 -5 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2006-06-22 Thread Andrew Thompson
thompsa 2006-06-23 04:29:33 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.63-65 Minor changes, sync to HEAD Revision ChangesPath 1.11.2.34 +6 -6 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2006-06-20 Thread Andrew Thompson
thompsa 2006-06-20 21:28:18 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Allow gif interfaces to be added as span ports, the user may want to send a copy of all packets to the other side of the world. Revision ChangesPath 1.65

cvs commit: src/sys/net if_bridge.c

2006-06-18 Thread Andrew Thompson
thompsa 2006-06-19 02:25:11 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Fix spelling mistake in comment. Revision ChangesPath 1.64 +1 -1 src/sys/net/if_bridge.c ___

cvs commit: src/sys/net if_bridge.c

2006-06-12 Thread Andrew Thompson
thompsa 2006-06-12 22:43:37 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Use bit operations to get a locally administered address rather than using a hardcoded OUI code. Revision ChangesPath 1.63 +4 -5

cvs commit: src/sys/net if_bridge.c

2006-05-28 Thread Andrew Thompson
thompsa 2006-05-29 00:36:28 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.59, 1.60 - Add support for fragmenting ipv4 packets - Recalculate the IP checksum after pfil(9) Together these allow NFS to

cvs commit: src/sys/net if_bridge.c

2006-05-28 Thread Andrew Thompson
thompsa 2006-05-29 00:40:16 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.61: Fix style(9) nits, whitespace and parentheses. Revision ChangesPath 1.11.2.32 +52 -61src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2006-05-16 Thread Andrew Thompson
thompsa 2006-05-16 22:50:42 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Fix style(9) nits, whitespace and parentheses. Revision ChangesPath 1.61 +52 -61src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2006-05-16 Thread Christian S.J. Peron
csjp2006-05-17 00:11:27 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC revision 1.55 Slightly re-worked bpf(4) code associated with bridging: if we have a destination interface as a member of our bridge

cvs commit: src/sys/net if_bridge.c

2006-05-16 Thread Christian S.J. Peron
csjp2006-05-17 00:18:58 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC revision 1.56 date: 2006/03/03 09:12:21; author: thompsa; state: Exp; lines: +22 -7 Since we are using random ethernet addresses

cvs commit: src/sys/net if_bridge.c

2006-05-15 Thread Daniel Hartmeier
dhartmei2006-05-15 11:49:01 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Recalculate IP checksum after running pfil hooks. Reviewed by:thompsa Tested by: Adam McDougall [EMAIL PROTECTED] Revision ChangesPath 1.60

cvs commit: src/sys/net if_bridge.c

2006-04-28 Thread Andrew Thompson
thompsa 2006-04-29 05:37:25 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Add support for fragmenting ipv4 packets. The packet filter may reassemble the ip fragments and return a packet that is larger than the MTU of the sending

Re: cvs commit: src/sys/net if_bridge.c

2006-04-03 Thread Roman Kurakin
Thanks! I was a bit busy. rik Andrew Thompson wrote: thompsa 2006-04-02 04:42:37 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_bridge.c Log: MFC r1.57-58 Use m_dup rather than m_copypacket as we need a writable mbuf

cvs commit: src/sys/net if_bridge.c

2006-04-02 Thread Andrew Thompson
thompsa 2006-04-02 23:55:05 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_bridge.c Log: Fix the build. Pointy hat: thompsa Approved by:re (implicit) Revision ChangesPath 1.23.2.12 +1 -1

cvs commit: src/sys/net if_bridge.c

2006-03-26 Thread Andrew Thompson
thompsa 2006-03-26 20:52:47 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Assert that the mbuf is not shared to ensure problems like the last commit are not reintroduced. Revision ChangesPath 1.58 +3 -0

cvs commit: src/sys/net if_bridge.c if_ethersubr.c

2006-03-04 Thread Oleg Bulyzhin
oleg2006-03-04 09:23:35 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c if_ethersubr.c Log: MFC if_ethersubr.c rev. 1.214, if_bridge.c rev. 1.54 Properly initialize args structure before passing it to ipfw_chk(): having

cvs commit: src/sys/net if_bridge.c if_ethersubr.c

2006-03-04 Thread Oleg Bulyzhin
oleg2006-03-04 09:24:30 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_bridge.c if_ethersubr.c Log: MFC if_ethersubr.c rev. 1.214, if_bridge.c rev. 1.54 Properly initialize args structure before passing it to ipfw_chk(): having

cvs commit: src/sys/net if_bridge.c

2006-03-03 Thread Andrew Thompson
thompsa 2006-03-03 09:12:22 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Since we are using random ethernet addresses for the bridge, it is possible that we might have address collisions, so make sure that this hardware address isn't

cvs commit: src/sys/net if_bridge.c

2006-03-02 Thread Christian S.J. Peron
csjp2006-03-03 05:58:18 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Slightly re-worked bpf(4) code associated with bridging: if we have a destination interface as a member of our bridge or this is a unicast packet, push it through the

cvs commit: src/sys/net if_bridge.c

2006-02-03 Thread Andrew Thompson
thompsa 2006-02-03 08:06:11 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.52, fix inconsistencies with the bridge route table. Approved by:re (scottl) Revision ChangesPath 1.11.2.26 +17 -3

cvs commit: src/sys/net if_bridge.c

2006-02-03 Thread Andrew Thompson
thompsa 2006-02-03 12:53:58 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_bridge.c Log: MFC r1.52, fix inconsistencies with the bridge route table. Approved by:re (scottl) Revision ChangesPath 1.23.2.9 +17 -3

cvs commit: src/sys/net if_bridge.c if_ethersubr.c

2006-02-03 Thread Oleg Bulyzhin
oleg2006-02-03 23:03:08 UTC FreeBSD src repository Modified files: sys/net if_bridge.c if_ethersubr.c Log: Properly initialize args structure before passing it to ipfw_chk(): having uninitialized args.inp is unhealthy for uid/gid/jail ipfw rules. PR:

cvs commit: src/sys/net if_bridge.c

2006-01-31 Thread Andrew Thompson
thompsa 2006-01-31 21:21:28 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Fix two bugs with the bridge - code expects memcmp() to return a signed value, our memcmp() returns 0 if args are equal and 0 if not. - It's possible to

cvs commit: src/sys/net if_bridge.c

2006-01-25 Thread Colin Percival
cperciva2006-01-25 10:00:40 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Make sure buffers in if_bridge are fully initialized before copying them to userland. Security: FreeBSD-SA-06:06.kmem Revision ChangesPath 1.51

cvs commit: src/sys/net if_bridge.c if_bridgevar.h

2006-01-18 Thread Andrew Thompson
thompsa 2006-01-18 20:49:21 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c if_bridgevar.h Log: MFC: if_bridge.c, r1.50; if_bridgevar.h, r1.10 Clear IFCAP_TXCSUM from member interfaces while bridging. Revision

Re: cvs commit: src/sys/net if_bridge.c

2006-01-03 Thread Pawel Jakub Dawidek
On Mon, Jan 02, 2006 at 11:02:43PM +, Andrew Thompson wrote: + thompsa 2006-01-02 23:02:43 UTC + + FreeBSD src repository + + Modified files: + sys/net if_bridge.c + Log: + Fix a brain-o in the last commit, the conditional was always false. [...] + -if

Re: cvs commit: src/sys/net if_bridge.c

2006-01-03 Thread Andrew Thompson
On Tue, Jan 03, 2006 at 12:21:56PM +0100, Pawel Jakub Dawidek wrote: On Mon, Jan 02, 2006 at 11:02:43PM +, Andrew Thompson wrote: + thompsa 2006-01-02 23:02:43 UTC + + FreeBSD src repository + + Modified files: + sys/net if_bridge.c + Log: + Fix a

cvs commit: src/sys/net if_bridge.c

2006-01-02 Thread Andrew Thompson
thompsa 2006-01-02 09:36:53 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Read time_second directly rather than calling getmicrotime(). Obtained from: DragonflyBSD Revision ChangesPath 1.44 +5 -13

cvs commit: src/sys/net if_bridge.c if_bridgevar.h

2006-01-02 Thread Andrew Thompson
thompsa 2006-01-02 09:50:34 UTC FreeBSD src repository Modified files: sys/net if_bridge.c if_bridgevar.h Log: Minor whitespace cleanup. Revision ChangesPath 1.45 +15 -16src/sys/net/if_bridge.c 1.9 +1 -1 src/sys/net/if_bridgevar.h

cvs commit: src/sys/net if_bridge.c

2006-01-02 Thread Andrew Thompson
thompsa 2006-01-02 22:23:03 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: It is better to use time_uptime here since it is monotonic. Pointed out by: glebius Revision ChangesPath 1.46 +5 -5 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2006-01-02 Thread Andrew Thompson
thompsa 2006-01-02 22:29:41 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Reset the route expiry time on each update rather than always letting them get GC'd and recreated. Revision ChangesPath 1.47 +3 -4

cvs commit: src/sys/net if_bridge.c

2006-01-02 Thread Andrew Thompson
thompsa 2006-01-02 22:44:54 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Reorganise bridge_rtupdate slightly to reduce duplication. Revision ChangesPath 1.48 +2 -3 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2006-01-02 Thread Andrew Thompson
thompsa 2006-01-02 23:02:43 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Fix a brain-o in the last commit, the conditional was always false. Revision ChangesPath 1.49 +1 -1 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2005-12-27 Thread Andrew Thompson
thompsa 2005-12-28 06:27:53 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.39-40, whitespace and M_ZERO fixes Revision ChangesPath 1.11.2.21 +31 -31src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2005-12-23 Thread Andrew Thompson
thompsa 2005-12-24 01:12:18 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.41, do not BPF_MTAP the packet twice Revision ChangesPath 1.11.2.19 +6 -2 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2005-12-23 Thread Andrew Thompson
thompsa 2005-12-24 01:13:17 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_bridge.c Log: MFC r1.41, do not BPF_MTAP the packet twice Revision ChangesPath 1.23.2.5 +6 -2 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2005-12-21 Thread Andrew Thompson
thompsa 2005-12-21 22:52:19 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.37: use m_dup rather than m_copypacket Revision ChangesPath 1.11.2.18 +6 -1 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2005-12-21 Thread Andrew Thompson
thompsa 2005-12-21 22:52:48 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_bridge.c Log: MFC r1.37: use m_dup rather than m_copypacket Revision ChangesPath 1.23.2.4 +6 -1 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c

2005-12-17 Thread Andrew Thompson
thompsa 2005-12-17 10:12:20 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Use M_ZERO for the bridge_iflist to ensure there are no unexpected suprises. Revision ChangesPath 1.40 +1 -1 src/sys/net/if_bridge.c

cvs commit: src/sys/net if_bridge.c if_bridgevar.h if_ethersubr.c

2005-12-16 Thread Andrew Thompson
thompsa 2005-12-17 06:33:52 UTC FreeBSD src repository Modified files: sys/net if_bridge.c if_bridgevar.h if_ethersubr.c Log: Change from a callback in if_ethersubr to using EVENTHANDLER in order to detach span ports when they disappear. The span port does not

  1   2   >