[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <46F25F9A.7010007@trash.net>
Date: Thu, 20 Sep 2007 13:55:06 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Frithjof Hammer <mail@...thjof-hammer.de>
CC: lartc@...lman.ds9a.nl, Linux Netdev List <netdev@...r.kernel.org>,
jamal <hadi@...erus.ca>
Subject: Re: [LARTC] ifb and ppp
Please keep netdev and myself CCed.
Frithjof Hammer wrote:
>>Does this patch help?
>
>
> A further examiniation:
> [...]
> printk ("fri: mein type %x\n",dev->type);
> switch (dev->type) {
>
> [...]
> shows this:
>
> root@...ter:/usr/src/linux-source-2.6.21# dmesg | grep fri
> fri: mein type 1
>
> that is defined as ARPHRD_ETHER in include/linux/if_arp.h.
>
> As far as i understand this means, that my ppp0 device is recognized as
> Ethernetinterface.
>
> Any further help/ideas?
I misread the code, the device it looks at in tcf_mirred_init is
the target device (ifb). So what it does is check whether the
target device wants a link layer header and if it does restores
the one from the source device. So currently it seems impossible
to get rid of the PPP(oE) header.
Jamal, is that how its supposed to work?
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists