netdev
[Top] [All Lists]

Problem with ebtables target that changes frame protocol

To: "Kernel Mailing List" <linux-kernel@xxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
Subject: Problem with ebtables target that changes frame protocol
From: "Simon Barber" <simon@xxxxxxxxxxxxxx>
Date: Mon, 23 Feb 2004 14:41:20 -0800
Sender: netdev-bounce@xxxxxxxxxxx
Thread-index: AcP6XidsEbGbYw1pSZKRmLANjxKRiQ==
Thread-topic: Problem with ebtables target that changes frame protocol
I have written an ebtables target that changes the ethernet protocol of a received frame (it runs in the broute chain). I have been working on 2.4.21 sources - Unfortunately inside netif_rx the skb->protocol is looked at before the bridge code is called - and then acted upon after. Hence if the bridge code changes the protocol the incorrect protocol is used to process the frame.
 
Simon
<Prev in Thread] Current Thread [Next in Thread>