[ << | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: Unsupported kernel version error [FIXED]
From: Kyle Winters <kyle,AT,ksteam,DOT,com,DOT,au>
Date: Mon, 11 Jun 2001 03:46:57 +0200
In-reply-to: <3B10ABCA.5050802@digitalme.com>

Please forgive my ignorance, but what exactly do I have to do with this patch to fix the problem? Put it in a file and run it?? Add it to an existing file?? Replace some lines in an existing file?? Put it in my pipe and smoke it? I have absolutely no idea...Please help. Kyle. At 09:16 PM 27/05/01 -0400, Trevor wrote: Part of the problem is a change in the networking in 2.4.4.? NULL is a workable fix in addition to what I did.? It just isn't "correct." Please find my attached patch.?? It will work for 1.4.6 cipe and will if applied by hand for 1.5.2 cipe. diff -ur cipe-1.4.6/conf/aclocal.m4 /usr/src/cipe-1.4.6/conf/aclocal.m4 --- cipe-1.4.6/conf/aclocal.m4??Tue May 30 09:47:03 2000 +++ /usr/src/cipe-1.4.6/conf/aclocal.m4?Sat May 26 04:15:32 2001 @@ -29,7 +29,7 @@ ?[$1] ?EOF ?(eval "$ac_cpp conftest.$ac_ext") 2>&AC_FD_CC |\ - sed -n -e 's/^"\(.*\)".*$/\1/p' >conftest + sed -n -e 's/^ *"\(.*\)".*$/\1/p' >conftest ?changequote(, )dnl ?set "X" "`cat conftest`" ?changequote([, ])dnl diff -ur cipe-1.4.6/output.c /usr/src/cipe-1.4.6/output.c --- cipe-1.4.6/output.c?Wed Aug? 2 10:33:45 2000 +++ /usr/src/cipe-1.4.6/output.c????????Sun May 27 20:02:01 2001 @@ -277,7 +277,11 @@ ????????iph->ihl??????? =???????sizeof(struct iphdr)>>2; ????????iph->tos??????? =???????tos; ????????iph->tot_len??? =???????htons(skb->len); -???????ip_select_ident(iph, &rt->u.dst); +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,4) +???????ip_select_ident(iph, &rt->u.dst, skb->sk); +#else +??????? ip_select_ident(iph, &rt->u.dst); +#endif ???????? iph->frag_off?? =??????df; ???????? iph->ttl??????? =??????ttl; ????????iph->protocol?? =???????IPPROTO_UDP;
[ << | Thread Index | >> ]    [ << | Date Index | >> ]