From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vlad Yasevich Subject: Re: Was change to ip_push_pending_frames intended to break udp (more specifically, WCCP?) Date: Mon, 22 May 2006 14:54:43 -0400 Message-ID: <1148324083.15323.325.camel@galen.zko.hp.com> References: <20060520191153.GV3776@stingr.net> <20060520140434.2139c31b.akpm@osdl.org> <1148322152.15322.299.camel@galen.zko.hp.com> <4472078D.8010706@hp.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Paul P Komkoff Jr , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Return-path: Received: from atlrel9.hp.com ([156.153.255.214]:13184 "EHLO atlrel9.hp.com") by vger.kernel.org with ESMTP id S1750754AbWEVSyp (ORCPT ); Mon, 22 May 2006 14:54:45 -0400 To: Rick Jones In-Reply-To: <4472078D.8010706@hp.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, 2006-05-22 at 11:48 -0700, Rick Jones wrote: > > IP id is set to 0 on unconnected sockets when the DF bit is set (path > > mtu discovery is enabled). Try issuing a connect() in your application > > and see if the ids are increasing again. > > ID of zero again? I thought that went away years ago? Anyway, given > the number of "helpful" devices out there willing to clear the DF bit, > fragment and forward, perhaps always setting the IP ID to 0, even if DF > is set, isn't such a good idea? Hey... I just report what I find... ;) I had to look at this code a bit for some SCTP cases as well and this seems to be how it works. Here a comment from the code for the case of the DF bit being set /* This is only to work around buggy Windows95/2000 * VJ compression implementations. If the ID field * does not change, they drop every other packet in * a TCP stream using header compression. */ -vlad > > rick jones >