Am Sonntag 01 August 2004 13:14 schrieb Heike C. Zimmerer: > Was Kernel 2.6.7 und Debian anbelangt, reicht offensichtlich die > Rückgängigmachung von > > http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel% >2Fv2.6%2Fpatch-2.6.6.bz2;z=1276 > > aus, wie Simon schon schrieb.
Hallo, zurück aus dem Urlaub habe ich nun noch das hier gefunden: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=fa.bhdn7i5.1hgcipj% 40ifi.uio.no&rnum=2&prev=/groups%3Fq%3Dactive%2Bfilter%2Bppp%2B% 2Bgroup:fa.linux.kernel%26hl%3Den%26lr%3D%26ie%3DUTF-8%26group% 3Dfa.linux.kernel%26sa%3DG%26scoring%3Dd http://thread.gmane.org/gmane.linux.kernel/222108 http://thread.gmane.org/gmane.linux.ppp/1467 diff -urN linux-2.5/drivers/net/ppp_generic.c pmac-2.5/drivers/net/ppp_generic.c --- linux-2.5/drivers/net/ppp_generic.c 2004-07-28 01:06:02.000000000 +1000 +++ pmac-2.5/drivers/net/ppp_generic.c 2004-08-07 21:07:09.018980776 +1000 @@ -1026,11 +1026,7 @@ /* check if we should pass this packet */ /* the filter instructions are constructed assuming a four-byte PPP header on each packet */ - { - u_int16_t *p = (u_int16_t *) skb_push(skb, 2); - - *p = htons(4); /* indicate outbound in DLT_LINUX_SLL */; - } + *skb_push(skb, 2) = 1; if (ppp->pass_filter && sk_run_filter(skb, ppp->pass_filter, ppp->pass_len) == 0) { @@ -1573,11 +1569,7 @@ /* check if the packet passes the pass and active filters */ /* the filter instructions are constructed assuming a four-byte PPP header on each packet */ - { - u_int16_t *p = (u_int16_t *) skb_push(skb, 2); - - *p = 0; /* indicate inbound in DLT_LINUX_SLL */ - } + *skb_push(skb, 2) = 0; if (ppp->pass_filter && sk_run_filter(skb, ppp->pass_filter, ppp->pass_len) == 0) { Karsten Keil ([EMAIL PROTECTED]) agreed to this patch. da der patch ursprünglich von Karsten Keil stammte, und er zustimmt ihn zurückzunehmen, probiere ich das gerade mal aus. Weiß jemand, ob der patch in neueren kernel-versionen zurückgenommen wird? Ich hoffe meine d-o-d Daueronline Probleme bekomme ich noch in den Griff ;-) Gruß Gerhard