Re: kern/172675: [netinet] [patch] sysctl_tcp_hc_list (net.inet.tcp.hostcache.list) race condition causing memory corruption

2012-10-13 Thread linimon
Old Synopsis: sysctl_tcp_hc_list (net.inet.tcp.hostcache.list) race condition causing memory corruption New Synopsis: [netinet] [patch] sysctl_tcp_hc_list (net.inet.tcp.hostcache.list) race condition causing memory corruption Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Cha

Re: Dropping TCP options from retransmitted SYNs considered harmful

2012-10-13 Thread Jason Wolfe
On Fri, Oct 12, 2012 at 9:13 AM, John Baldwin wrote: > Back in 2001 FreeBSD added a hack to strip TCP options from retransmitted SYNs > starting with the 3rd SYN in this block in tcp_timer.c: > > /* > * Disable rfc1323 if we haven't got any response to > * our third SYN t

Re: ixgbe & if_igb RX ring locking

2012-10-13 Thread Jack Vogel
On Sat, Oct 13, 2012 at 11:22 AM, Luigi Rizzo wrote: > On Sat, Oct 13, 2012 at 09:49:21PM +0400, Alexander V. Chernikov wrote: > > Hello list! > > > > > > Packets receiving code for both ixgbe and if_igb looks like the > following: > > > > > > ixgbe_msix_que > > > > -- ixgbe_rxeof() > >{ > >

Re: [CFT/Review] net byte order for AF_INET

2012-10-13 Thread Aleksandr Rybalko
Gleb Smirnoff написал(а): >On Fri, Oct 12, 2012 at 05:06:29PM -0400, Adrian Chadd wrote: >A> On 12 October 2012 08:47, Gleb Smirnoff wrote: >A> > On Fri, Oct 12, 2012 at 04:46:40PM +0400, Gleb Smirnoff wrote: >A> > T> Latest version of patch for further review and testing >A> > T> Changelog: >

Re: ixgbe & if_igb RX ring locking

2012-10-13 Thread Luigi Rizzo
On Sat, Oct 13, 2012 at 09:49:21PM +0400, Alexander V. Chernikov wrote: > Hello list! > > > Packets receiving code for both ixgbe and if_igb looks like the following: > > > ixgbe_msix_que > > -- ixgbe_rxeof() >{ > IXGBE_RX_LOCK(rxr); > while > { >get_packe

ixgbe & if_igb RX ring locking

2012-10-13 Thread Alexander V. Chernikov
Hello list! Packets receiving code for both ixgbe and if_igb looks like the following: ixgbe_msix_que -- ixgbe_rxeof() { IXGBE_RX_LOCK(rxr); while { get_packet; -- ixgbe_rx_input() { ++ IXGBE_RX_UNLOCK(rxr);

Re: [PATCH] IPv6 and ICMP6 redirects - routing performance

2012-10-13 Thread Hiroki Sato
"Alexander V. Chernikov" wrote in <5076c0e3.9050...@freebsd.org>: me> Hello list! me> me> Currently there are some unnecessary code residing in me> netinet6/in6_rmx.c causing performance degradation for IPv6 me> forwarding. me> me> Initially it was merged from netinet/in_rmx.c but it seems it i