On 14 March 2008 19:03:54 Marcin Owsiany wrote:
> Hi,
>
> Sorry it took so long to try, but that's how life is if you get a
> working workaround - little incentive to fix things properly :)
>
> On Tue, Feb 05, 2008 at 11:32:46AM +0300, Kirill Korotaev wrote:
> > try this one attached plz.
>
> Unfortunately I get an error:
>
> | CC kernel/ub/ub_net.o
> | mm/mmap.c: In function ‘acct_stack_growth’:
> | mm/mmap.c:1546: warning: label ‘fail_sec’ defined but not used
> | kernel/ub/ub_net.c: In function ‘ub_sock_tcp_update_rcvbuf’:
> | kernel/ub/ub_net.c:795: warning: initialization from incompatible pointer type
> | kernel/ub/ub_net.c:805: error: dereferencing pointer to incomplete type
> | kernel/ub/ub_net.c:806: error: dereferencing pointer to incomplete type
>
> I guess this is because the patch is against a different version. I also had to
> tweak the patch by hand so it would apply - looks like top_beancounter() was
I am wonder as top_beancounter() was introduced at 2007-05-15.
What exactly OpenVZ version do you use?
> introduced after the version I have.
>
> My version is ovz-028.18-deb.patch (i.e. the version which applies to Debian's
> 2.6.18).
>
> Attached is the ub_net.c file as I have it after applying your tcp window
> patch. Just in case it's obvious for you how to fix it to work with 028.18-deb.
>
I didn't get any attachments...
> regards,
--
Thank,
Vitaliy Gusev