Subject: Re: [RFT] sky2 vs iptables

From: Daniel Drake <[email-masked]>
Date: Sat, 16 Sep 2006 23:01:46 -0400

Stephen Hemminger wrote:
> On Tue, 05 Sep 2006 21:36:24 -0400
> Daniel Drake <[email-masked]> wrote:
>> There's a strange sky2 bug on the Gentoo bugzilla:
>> http://bugs.gentoo.org/show_bug.cgi?id=136508
>>
>> sky2 seems to work OK, but breaks as soon as the iptables ruleset is 
>> loaded. Nothing can be pinged, etc.
>>
>> Can someone try and reproduce this? The iptables rule script has been 
>> uploaded here:
>> http://bugs.gentoo.org/attachment.cgi?id=95694&action=view
>>
>> The very last command in that file is the one which produces an error 
>> and stops everything working:
>>
>> 	iptables: Unknown error 18446744073709551615
>>
>> Apparently a sky2 null deref has also been seen at this point, although 
>> I don't have further details on that.
> 
> It might be an artifact of the way sky2 was allocating receive buffers.
> Bridge-netfilter was assuming header space in the buffer, and would corrupt
> other memory, maybe iptables is assuming as well. This makes sky2
> use dev_alloc_skb that reserves space.
> -----------------------
> Subject: sky2: use dev_alloc_skb for receive buffers

Unfortunately the problem still exists with this patch. Any other ideas?

Daniel