Re: read() returns ETIMEDOUT on steady TCP connection

2008-05-05 Thread Deng XueFeng
hi I'am also meet this problem in my mss server(missey streaming server). one encoder push stream to mss, then run 100 client player playing the sream, as the client number increase, mss will occur this error sooner or later like this: I'am using kqueue, and will got a event with EV_EOF and ffl

Re: IPPROTO_DIVERT and PF_INET6

2008-05-05 Thread Edwin Groothuis
On Mon, May 05, 2008 at 04:18:54PM -0700, Julian Elischer wrote: > Edwin Groothuis wrote: > >On Mon, May 05, 2008 at 01:15:29PM -0700, Julian Elischer wrote: > >>>This should provide a direct answer to you question of "why"? But I > >>>suspect the underlying question is why divert sockets aren't s

Re: IPPROTO_DIVERT and PF_INET6

2008-05-05 Thread Julian Elischer
Edwin Groothuis wrote: On Mon, May 05, 2008 at 01:15:29PM -0700, Julian Elischer wrote: This should provide a direct answer to you question of "why"? But I suspect the underlying question is why divert sockets aren't supported for IPv6. I don't know why. because no=one has done it and because

Re: IPPROTO_DIVERT and PF_INET6

2008-05-05 Thread Edwin Groothuis
On Mon, May 05, 2008 at 01:15:29PM -0700, Julian Elischer wrote: > >This should provide a direct answer to you question of "why"? But I > >suspect the underlying question is why divert sockets aren't supported > >for IPv6. I don't know why. > > because no=one has done it and because divert socka

Re: kern/123429: [nfe] [hang] "ifconfig nfe up" causes a hard system lockup in 7.0-RELEASE and 7.0-STABLE-042008

2008-05-05 Thread linimon
Synopsis: [nfe] [hang] "ifconfig nfe up" causes a hard system lockup in 7.0-RELEASE and 7.0-STABLE-042008 Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Mon May 5 23:04:49 UTC 2008 Responsible-Changed-Why: Over to maintainer(s).

Re: Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS kernel which is GPL Licenced?

2008-05-05 Thread Chuck Swiger
On May 4, 2008, at 6:32 AM, [EMAIL PROTECTED] wrote: Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS kernel which is GPL Licence? Modern 2- or 3-clause BSD licenses are fully compatible with the GPL, as are most "simple, permissive" licenses like the MIT/X11, Zlib, and

Re: IPPROTO_DIVERT and PF_INET6

2008-05-05 Thread Julian Elischer
JINMEI Tatuya / 神明達哉 wrote: This should provide a direct answer to you question of "why"? But I suspect the underlying question is why divert sockets aren't supported for IPv6. I don't know why. because no=one has done it and because divert sockaddrs are ipv4 sockaddrs you would have to ma

Re: Troubles with em on FreeBSD 7

2008-05-05 Thread Oleksandr Samoylyk
Oleksandr Samoylyk wrote: Jack Vogel wrote: Oh, I just had a thought, increase the RX processing limit, that only allows you to process 100 packets in one pass. First change it to 250 and see what it does, you might also set it to -1 which will allow you to process til you drain the ring, the r

Re: IPPROTO_DIVERT and PF_INET6

2008-05-05 Thread JINMEI Tatuya / 神明達哉
At Sat, 3 May 2008 20:00:43 +1000, Edwin Groothuis <[EMAIL PROTECTED]> wrote: > Before somebody shoots me down on it: I know that ipfw_divert() is > not suitable for IPv6 packets. [snip] > which is what I expected. So why doesn't this get displayed for the > IPv6 sockets? I don't know much abou

timewait state memory leak

2008-05-05 Thread Huang, Yusheng
Hi, I am looking at the tcp_tw_2msl_scan() code and it looks like there is a bug in there. struct tcptw * tcp_tw_2msl_scan(int reuse) { struct tcptw *tw; INP_INFO_WLOCK_ASSERT(&tcbinfo); for (;;) { tw = TAILQ_FIRST(&twq_2msl); i

Re: Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS kernel which is GPL Licenced?

2008-05-05 Thread Julian Elischer
Kip Macy wrote: On Sun, May 4, 2008 at 6:32 AM, <[EMAIL PROTECTED]> wrote: Hi, all Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS kernel which is GPL Licence? I know that 4.4BSD-Lite is BSD Licenced. Is it legal to port BSD Licenced code and change it to GPL licenc

Re: Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS kernel which is GPL Licenced?

2008-05-05 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: | Hi, all | | Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS kernel which is GPL Licence? | | I know that 4.4BSD-Lite is BSD Licenced. Is it legal to port BSD Licenced code and change it to GPL licence?

Re: Not All Symbols Present in a Loadable Kernel Module

2008-05-05 Thread Alexander Sack
For my own edification, unless you specifically mark a function inline, will gcc really optimize them out? That seems a little overboard unless there is some compiler option that says its okay to do that. I guess that would be very easy to test if you do as you say, just sock away the function ad

Re: Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS kernel which is GPL Licenced?

2008-05-05 Thread Kip Macy
On Sun, May 4, 2008 at 6:32 AM, <[EMAIL PROTECTED]> wrote: > Hi, all > > Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS > kernel which is GPL Licence? > > I know that 4.4BSD-Lite is BSD Licenced. Is it legal to port BSD Licenced > code and change it to GPL licence? Yes

Re: Is it possible to change BSD licence to GPL for 4.4BSD-Lite's source code?

2008-05-05 Thread Kevin Oberman
> Date: Sun, 04 May 2008 23:56:33 +0800 > From: kevin <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > > Hi, all > I want to port 4.4BSD-Lite's TCP/IP source code to my own OS kernel. > My OS kernel is GPL licenced. > Is it possible for me to modify 4.4BSD-Lite's source code and change > its lice

Re: Troubles with em on FreeBSD 7

2008-05-05 Thread Jack Vogel
On Mon, May 5, 2008 at 9:22 AM, Richard A Steenbergen <[EMAIL PROTECTED]> wrote: > On Sun, May 04, 2008 at 05:51:22PM -0400, [EMAIL PROTECTED] wrote: > > A new version of the em drivers went into the tree Friday. > > Yes but it also broke kernel builds if you don't add device igb. :) Only for on

Re: Not All Symbols Present in a Loadable Kernel Module

2008-05-05 Thread Kostik Belousov
On Mon, May 05, 2008 at 09:27:10AM -0700, David Christensen wrote: > > > Yes, I'm building a debug kernel. I have the line listed above as > > well > > > as the following: > > > > > > options KDB > > > options DDB > > > options GDB > > > options INVARIANTS > > > options INVARIANT_SUPPORT >

RE: Not All Symbols Present in a Loadable Kernel Module

2008-05-05 Thread David Christensen
> > Yes, I'm building a debug kernel. I have the line listed above as > well > > as the following: > > > > options KDB > > options DDB > > options GDB > > options INVARIANTS > > options INVARIANT_SUPPORT > > options WITNESS > > options WITNESS_SKIPSPIN > > Dave: > > What symbols can you n

Change from BSDL to GPL

2008-05-05 Thread kevin
Hi, all I want to port 4.4BSD-Lite's TCP/IP source code to my own OS kernel. My OS kernel is GPL licenced. Is it possible for me to modify 4.4BSD-Lite's source code and change its licence from 4.4BSD-Lite licence to GPL licence? BR Kevin Wu ___ freebsd-

Change from BSDL to GPL

2008-05-05 Thread kevin
Hi, all I want to port 4.4BSD-Lite's TCP/IP source code to my own OS kernel. My OS kernel is GPL licenced. Is it possible for me to modify 4.4BSD-Lite's source code and change its licence from 4.4BSD-Lite licence to GPL licence? BR Kevin Wu ___ freebsd-

Is it possible to change BSD licence to GPL for 4.4BSD-Lite's source code?

2008-05-05 Thread kevin
Hi, all I want to port 4.4BSD-Lite's TCP/IP source code to my own OS kernel. My OS kernel is GPL licenced. Is it possible for me to modify 4.4BSD-Lite's source code and change its licence from 4.4BSD-Lite licence to GPL licence? BR Kevin Wu ___ freebsd

Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS kernel which is GPL Licenced?

2008-05-05 Thread hlwhyw
Hi, all Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS kernel which is GPL Licence? I know that 4.4BSD-Lite is BSD Licenced. Is it legal to port BSD Licenced code and change it to GPL licence? Kevin Wu ___ freebsd-net@freebsd

Re: Troubles with em on FreeBSD 7

2008-05-05 Thread Richard A Steenbergen
On Sun, May 04, 2008 at 05:51:22PM -0400, [EMAIL PROTECTED] wrote: > A new version of the em drivers went into the tree Friday. Yes but it also broke kernel builds if you don't add device igb. :) -- Richard A Steenbergen <[EMAIL PROTECTED]> http://www.e-gerbil.net/ras GPG Key ID: 0xF8B12CB

Re: Trying to find source of collisions

2008-05-05 Thread Matthew D. Fuller
On Mon, May 05, 2008 at 03:49:38PM +0400 I heard the voice of Igor Zinovik, and lo! it spake thus: > > NameMtu Network Address Ipkts IerrsOpkts Oerrs > Coll > ed01500 00:80:48:c6:a1:82 35885806 4 23583716 0 > 134590 ... > > So i have three questions:

Re: Trying to find source of collisions

2008-05-05 Thread Bill Moran
In response to Igor Zinovik <[EMAIL PROTECTED]>: > Hello, net@ readers. > > I'm relatively new to freebsd networking so i'm asking here, because i > did not found information in man netstat. I have a machine that suffers > from collisions. > > Network interface status: > NameMtu Ne

Trying to find source of collisions

2008-05-05 Thread Igor Zinovik
Hello, net@ readers. I'm relatively new to freebsd networking so i'm asking here, because i did not found information in man netstat. I have a machine that suffers from collisions. Network interface status: NameMtu Network Address Ipkts IerrsOpkts Oerrs Coll

Re: Troubles with em on FreeBSD 7

2008-05-05 Thread Oleksandr Samoylyk
Jack Vogel wrote: Oh, I just had a thought, increase the RX processing limit, that only allows you to process 100 packets in one pass. First change it to 250 and see what it does, you might also set it to -1 which will allow you to process til you drain the ring, the risk is that you cause other

Current problem reports assigned to freebsd-net@FreeBSD.org

2008-05-05 Thread FreeBSD bugmaster
Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description o kern/35442 net[sis] [patch] Problem transmitting runts in if_sis dri a kern/38554 netchang