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
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.
regards,
--
Marcin Owsiany <marcin@owsiany.pl> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in development at MIT expands until it can read mail."
-- Unknown