From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: ip_queue_vwmark for pom-ng Date: Sun, 13 Jun 2004 23:39:00 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <40CCC974.9080807@trash.net> References: <1086903111.4794.4.camel@coati> <1087157463.11287.20.camel@ws> <1087160421.3320.5.camel@coati> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: Eric Leblond In-Reply-To: <1087160421.3320.5.camel@coati> Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Eric Leblond wrote: > On Sun, 2004-06-13 at 22:11, Patrick McHardy wrote: > >>On Thu, 2004-06-10 at 23:31, Eric Leblond wrote: >>Applied, thanks Eric. Am I right that this patch doesn't break userspace >>compatiblity ? > > I add to change the definition of a structure related to libipq. So it > can break compatibility of application using the size of this structure. The kernel itself verifies the size of the structure when receiving messages from userspace. I missed that you enlarged the structure. Since it breaks compatibility with old binaries anyway, why didn't you just add the mark to ipq_verdict_msg instead of duplicating it and adding ipq_set_vwmark, which is 99% equal to ipq_set_verdict? Regards Patrick > > But It should not impact libipq applications. > > Regards