cvs commit: src/sys/net if_ethersubr.c

2008-07-28 Thread Antoine Brodin
antoine 2008-07-28 18:22:06 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_ethersubr.c Log: SVN rev 180929 on 2008-07-28 18:22:06Z by antoine MFC r178920 to stable/6: Add missing braces in #if 0ed code. Approved by:

cvs commit: src/sys/net if_ethersubr.c

2008-07-28 Thread Antoine Brodin
antoine 2008-07-28 18:17:23 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_ethersubr.c Log: SVN rev 180928 on 2008-07-28 18:17:23Z by antoine MFC r178920 to stable/7: Add missing braces in #if 0ed code. Approved by:

cvs commit: src/sys/net if_ethersubr.c

2008-05-10 Thread Antoine Brodin
antoine 2008-05-10 18:33:38 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Add missing braces in #if 0ed code. Approved by:rwatson (mentor) MFC after: 1 month Revision ChangesPath 1.246 +2 -1 src/sys/net/if

Re: cvs commit: src/sys/net if_ethersubr.c src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c src/sys/conf NOTES options

2008-04-30 Thread Bruce Evans
On Wed, 30 Apr 2008, Marcel Moolenaar wrote: On Apr 30, 2008, at 11:39 AM, Julian Elischer wrote: Max Laier wrote: On Tuesday 29 April 2008 23:23:21 Julian Elischer wrote: julian 2008-04-29 21:23:21 UTC ... Add an option (compiled out by default) to profile outoing packets for a numbe

Re: cvs commit: src/sys/net if_ethersubr.c src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c src/sys/conf NOTES options

2008-04-30 Thread Marcel Moolenaar
On Apr 30, 2008, at 11:39 AM, Julian Elischer wrote: Max Laier wrote: On Tuesday 29 April 2008 23:23:21 Julian Elischer wrote: julian 2008-04-29 21:23:21 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c sys/sys mbuf.h sys/kern

Re: cvs commit: src/sys/net if_ethersubr.c src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c src/sys/conf NOTES options

2008-04-30 Thread Julian Elischer
Max Laier wrote: On Tuesday 29 April 2008 23:23:21 Julian Elischer wrote: julian 2008-04-29 21:23:21 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c sys/sys mbuf.h sys/kern uipc_mbuf.c sys/conf NOTES o

Re: cvs commit: src/sys/net if_ethersubr.c src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c src/sys/conf NOTES options

2008-04-30 Thread Max Laier
On Tuesday 29 April 2008 23:23:21 Julian Elischer wrote: > julian 2008-04-29 21:23:21 UTC > > FreeBSD src repository > > Modified files: > sys/net if_ethersubr.c > sys/sys mbuf.h > sys/kern uipc_mbuf.c > sys/conf NOTES optio

cvs commit: src/sys/net if_ethersubr.c src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c src/sys/conf NOTES options

2008-04-29 Thread Julian Elischer
julian 2008-04-29 21:23:21 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c sys/sys mbuf.h sys/kern uipc_mbuf.c sys/conf NOTES options Log: Add an option (compiled out by default) to profile outo

cvs commit: src/sys/net if_ethersubr.c

2008-03-19 Thread Kip Macy
kmacy 2008-03-20 06:19:34 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: back out last change as Sam believes that it breaks multicast - need to revisit after following up with pyun Revision ChangesPath 1.244 +1 -2 src/

cvs commit: src/sys/net if_ethersubr.c

2008-03-19 Thread Kip Macy
kmacy 2008-03-20 05:45:28 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: forced commit to add that the fix in the previous commit was submitted by Devon H. O'Dell Revision ChangesPath 1.243 +0 -0 src/sys/net/if_ethersub

cvs commit: src/sys/net if_ethersubr.c

2008-03-19 Thread Kip Macy
kmacy 2008-03-20 05:35:02 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Don't re-initialize the interface if it is already running. This one line change makes the following code found in many ethernet device drivers (at least em, ig

cvs commit: src/sys/net if_ethersubr.c

2008-02-12 Thread Ed Maste
emaste 2008-02-12 22:27:28 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_ethersubr.c Log: MFC revisions 1.232 and 1.236: Remove DIAG code that discards oversized packets. There has been general consensus that this was a b

cvs commit: src/sys/net if_ethersubr.c

2007-09-17 Thread Julian Elischer
julian 2007-09-17 17:50:49 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_ethersubr.c Log: MFC: remove test that fails POLA. RevisionChangesPath 1.193.2.15 +0 -11 src/sys/net/if_ethersubr.c ___

cvs commit: src/sys/net if_ethersubr.c

2007-09-13 Thread Julian Elischer
julian 2007-09-14 06:57:28 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Remove DIAG code that discards oversized packets. There has been general consensus that this was a bad idea/ Approved by:re (bmah) Revision Changes

cvs commit: src/sys/net if_ethersubr.c

2007-06-12 Thread Andrew Gallatin
gallatin2007-06-12 19:53:44 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Use if_capenable to allow LRO enabled drivers to bypass the MTU check in ether_input(). Revision ChangesPath 1.233 +2 -1 src/sys/net/if_ethersubr

cvs commit: src/sys/net if_ethersubr.c

2007-06-11 Thread Andrew Gallatin
gallatin2007-06-11 18:45:49 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Move the oversize ethernet frame size check into DIAGNOSTIC, as was proposed when it was originally added. This allows LRO to work on non-DIAGNOSTIC kernels withou

cvs commit: src/sys/net if_ethersubr.c

2007-03-22 Thread Bruce M Simpson
bms 2007-03-22 19:08:39 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Fix a typo, and update a comment. Submitted by: yar Revision ChangesPath 1.226 +2 -3 src/sys/net/if_ethersubr.c

cvs commit: src/sys/net if_ethersubr.c

2007-03-20 Thread Bruce M Simpson
bms 2007-03-20 14:29:55 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Make the m_pullup() diagnostic message compile-time conditional on DIAGNOSTIC. Requested by: glebius Revision ChangesPath 1.225 +2 -0 src/sy

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

2007-03-19 Thread Bruce M. Simpson
Bruce M Simpson wrote: The handling of CARP needs to be revisited architecturally. By this I mean: we could benefit from a more general mechanism used to deal with link-layer addresses other than the hardware station address, perhaps kept in a hash table. Some cards support more than one

cvs commit: src/sys/net if_ethersubr.c

2007-03-19 Thread Bruce M Simpson
bms 2007-03-19 18:39:36 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Clean up the ether_input() path by using the M_PROMISC flag. Main points of this change: * Drop frames immediately if the interface is not marked IFF_UP. * A

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

2007-02-22 Thread Bruce M. Simpson
Christian S.J. Peron wrote: Use ETHER_BPF_MTAP() instead of BPF_MTAP() here. It's possible incoming packets have had their 802.1Q tags processed by the hardware, resulting in them being stripped from the packets, and placed on the mbuf. This fixes the processing of 802.1Q tags when ha

cvs commit: src/sys/net if_ethersubr.c

2007-02-22 Thread Christian S.J. Peron
csjp2007-02-22 14:50:31 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Use ETHER_BPF_MTAP() instead of BPF_MTAP() here. It's possible incoming packets have had their 802.1Q tags processed by the hardware, resulting in them being strip

cvs commit: src/sys/net if_ethersubr.c

2006-12-24 Thread Yar Tikhiy
yar 2006-12-24 08:52:13 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Note that rev. 1.221 introduced a local workaround for a general problem. Add a pointer to the relevant PR for future reference. The whole comment will be OK to re

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

2006-12-12 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Luigi Rizzo <[EMAIL PROTECTED]> writes: : On Tue, Dec 12, 2006 at 09:13:23PM -0700, M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : ... : > : while established practice in NetBSD, met with considerable : > : controversy when I tried to expand

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

2006-12-12 Thread Luigi Rizzo
On Tue, Dec 12, 2006 at 09:13:23PM -0700, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> ... > : while established practice in NetBSD, met with considerable > : controversy when I tried to expand it in FreeBSD land. However, > : putting things in param.h met with no resistance whatsoever

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

2006-12-12 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "M. Warner Losh" <[EMAIL PROTECTED]> writes: : In message: <[EMAIL PROTECTED]> : John-Mark Gurney <[EMAIL PROTECTED]> writes: : : Luigi Rizzo wrote this message on Tue, Dec 12, 2006 at 06:24 -0800: : : > On Tue, Dec 12, 2006 at 03:17:59PM +010

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

2006-12-12 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John-Mark Gurney <[EMAIL PROTECTED]> writes: : Luigi Rizzo wrote this message on Tue, Dec 12, 2006 at 06:24 -0800: : > On Tue, Dec 12, 2006 at 03:17:59PM +0100, Bernd Walter wrote: : > > On Tue, Dec 12, 2006 at 05:57:56AM -0800, Luigi Rizzo wrote: : > ...

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

2006-12-12 Thread John-Mark Gurney
Luigi Rizzo wrote this message on Tue, Dec 12, 2006 at 06:24 -0800: > On Tue, Dec 12, 2006 at 03:17:59PM +0100, Bernd Walter wrote: > > On Tue, Dec 12, 2006 at 05:57:56AM -0800, Luigi Rizzo wrote: > ... > > > then i suppose the proper fix is to revert to m_copy() and > > > work on if_simloop() so t

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

2006-12-12 Thread Bruce Evans
On Tue, 12 Dec 2006, Luigi Rizzo wrote: On Tue, Dec 12, 2006 at 02:13:34PM +0100, Bernd Walter wrote: On Fri, Dec 08, 2006 at 10:36:46AM +, Luigi Rizzo wrote: luigi 2006-12-08 10:36:45 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: F

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

2006-12-12 Thread Bernd Walter
On Tue, Dec 12, 2006 at 06:24:45AM -0800, Luigi Rizzo wrote: > On Tue, Dec 12, 2006 at 03:17:59PM +0100, Bernd Walter wrote: > > On Tue, Dec 12, 2006 at 05:57:56AM -0800, Luigi Rizzo wrote: > > > #if defined(__ia64__) || defined(__sparc64__) > ... > > > to detect whether the architecture is align

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

2006-12-12 Thread Luigi Rizzo
On Tue, Dec 12, 2006 at 03:17:59PM +0100, Bernd Walter wrote: > On Tue, Dec 12, 2006 at 05:57:56AM -0800, Luigi Rizzo wrote: ... > > then i suppose the proper fix is to revert to m_copy() and > > work on if_simloop() so that 1. it handles a readonly chain, and > > 2. when doing so, it passes up a p

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

2006-12-12 Thread Bernd Walter
On Tue, Dec 12, 2006 at 05:57:56AM -0800, Luigi Rizzo wrote: > On Tue, Dec 12, 2006 at 02:13:34PM +0100, Bernd Walter wrote: > > On Fri, Dec 08, 2006 at 10:36:46AM +, Luigi Rizzo wrote: > > > luigi 2006-12-08 10:36:45 UTC > > > > > > FreeBSD src repository > > > > > > Modified files

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

2006-12-12 Thread Luigi Rizzo
On Tue, Dec 12, 2006 at 02:13:34PM +0100, Bernd Walter wrote: > On Fri, Dec 08, 2006 at 10:36:46AM +, Luigi Rizzo wrote: > > luigi 2006-12-08 10:36:45 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/net if_ethersubr.c > > Log: > > Fix an oscu

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

2006-12-12 Thread Bernd Walter
On Tue, Dec 12, 2006 at 03:44:32PM +0200, John Hay wrote: > On Tue, Dec 12, 2006 at 02:13:34PM +0100, Bernd Walter wrote: > > On Fri, Dec 08, 2006 at 10:36:46AM +, Luigi Rizzo wrote: > > > luigi 2006-12-08 10:36:45 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: >

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

2006-12-12 Thread John Hay
On Tue, Dec 12, 2006 at 02:13:34PM +0100, Bernd Walter wrote: > On Fri, Dec 08, 2006 at 10:36:46AM +, Luigi Rizzo wrote: > > luigi 2006-12-08 10:36:45 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/net if_ethersubr.c > > Log: > > Fix an oscu

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

2006-12-12 Thread Bernd Walter
On Fri, Dec 08, 2006 at 10:36:46AM +, Luigi Rizzo wrote: > luigi 2006-12-08 10:36:45 UTC > > FreeBSD src repository > > Modified files: > sys/net if_ethersubr.c > Log: > Fix an oscure bug triggered by a recent change in kern_socket.c. > The symptoms were that

cvs commit: src/sys/net if_ethersubr.c

2006-12-08 Thread Luigi Rizzo
luigi 2006-12-08 10:36:45 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Fix an oscure bug triggered by a recent change in kern_socket.c. The symptoms were that outgoing DHCP requests for diskless kernels had the IP header corrupt. After

cvs commit: src/sys/net if_ethersubr.c

2006-08-27 Thread Andrew Thompson
thompsa 2006-08-28 02:54:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_ethersubr.c Log: MFC r1.218 Move the bridge hook after the loopback check so that IFF_SIMPLEX is honoured on member interfaces. RevisionChanges

cvs commit: src/sys/net if_ethersubr.c

2006-08-25 Thread Andrew Thompson
thompsa 2006-08-25 20:16:40 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Move the bridge hook after the loopback check so that IFF_SIMPLEX is honoured on member interfaces. This makes us the same as OpenBSD/NetBSD. MFC after: 3 d

Re: cvs commit: src/sys/net if_ethersubr.c if_gif.c

2006-07-26 Thread Andrew Thompson
On Thu, Jul 27, 2006 at 03:50:38AM +, Tai-hwa Liang wrote: > avatar 2006-07-27 03:50:38 UTC > > FreeBSD src repository > > Modified files: > sys/net if_ethersubr.c if_gif.c > Log: > Fixing compilation bustage: net/if_bridgevar.h depends on net/bridgestp.h. stru

Re: cvs commit: src/sys/net if_ethersubr.c if_gif.c

2006-07-26 Thread Andrew Thompson
On Thu, Jul 27, 2006 at 03:50:38AM +, Tai-hwa Liang wrote: > avatar 2006-07-27 03:50:38 UTC > > FreeBSD src repository > > Modified files: > sys/net if_ethersubr.c if_gif.c > Log: > Fixing compilation bustage: net/if_bridgevar.h depends on net/bridgestp.h. >

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

2006-07-26 Thread Tai-hwa Liang
avatar 2006-07-27 03:50:38 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c if_gif.c Log: Fixing compilation bustage: net/if_bridgevar.h depends on net/bridgestp.h. Revision ChangesPath 1.216 +1 -0 src/sys/net/if_ethersubr.c 1

cvs commit: src/sys/net if_ethersubr.c

2006-06-12 Thread Ed Maste
emaste 2006-06-13 01:51:34 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_ethersubr.c Log: MFC r1.184: Check for non-NULL ac_netgraph field in interface arpcom, instead of checking global presence of ng_ether(4). Revie

cvs commit: src/sys/net if_ethersubr.c

2006-05-16 Thread Christian S.J. Peron
csjp2006-05-17 00:09:24 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_ethersubr.c Log: MFC revision 1.215 Unbreak byte counters when network interfaces are in monitor mode by re-organizing the monitor return logic. We pe

cvs commit: src/sys/net if_ethersubr.c

2006-03-03 Thread Christian S.J. Peron
csjp2006-03-03 17:21:09 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Unbreak byte counters when network interfaces are in monitor mode by re-organizing the monitor return logic. We perform interface monitoring checks after we have de

cvs commit: src/sys/net if_ethersubr.c

2006-01-26 Thread Oleg Bulyzhin
oleg2006-01-26 23:18:11 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_ethersubr.c Log: MFC 1.211: 1) remove useless check of loop_copy 2) convert loop_copy to "non-negative" flag RevisionChangesPath 1.177.2.11

cvs commit: src/sys/net if_ethersubr.c

2006-01-26 Thread Oleg Bulyzhin
oleg2006-01-26 23:16:24 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_ethersubr.c Log: MFC 1.211: 1) remove useless check of loop_copy 2) convert loop_copy to "non-negative" flag Revision ChangesPath 1.193.2.9 +

cvs commit: src/sys/net if_ethersubr.c

2005-12-22 Thread Oleg Bulyzhin
oleg2005-12-22 12:16:20 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: 1) remove useless check of loop_copy - corresponding code was removed in rev. 1.70 five years ago. 2) convert loop_copy to "non-negative" flag Approved by:

cvs commit: src/sys/net if_ethersubr.c

2005-11-27 Thread Robert Watson
rwatson 2005-11-27 18:37:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/net if_ethersubr.c Log: Add several missing calls to splx() in error cases associated with calling ether_ipfw_chk() from the ethernet output code. PR:

cvs commit: src/sys/net if_ethersubr.c

2005-11-16 Thread Ruslan Ermilov
ru 2005-11-16 08:49:22 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_ethersubr.c Log: MFC: 1.203: Remove a stale comment. Revision ChangesPath 1.193.2.7 +0 -1 src/sys/net/if_ethersubr.c ___