netdev
[Top] [All Lists]

hard_start_xmit and Linux bridging

To: netdev@xxxxxxxxxxx
Subject: hard_start_xmit and Linux bridging
From: Lewis Adam-CAL022 <Adam.Lewis@xxxxxxxxxxxx>
Date: Thu, 9 Sep 2004 17:10:05 -0500
Sender: netdev-bounce@xxxxxxxxxxx
Hi all,

I tried going to the bridge@xxxxxxxxxxxxxx for this question but got no 
response, I'm hoping somebody here has had a similar experience as me.

Basically, I put my wlan0 driver in a bridge with eth0.  When my 
hard_start_xmit() function is called (as a result of a packet received on eth0 
and bridged to my driver), the skb that I am passed contains an extra four 
bytes (e.g. the Ethernet FCS).  

In my mind, this should be stripped off.  But I have looked at all the open 
source net drivers I could find and nobody seems to care.  Is there a way to 
know if the skb has been forwarded by a bridged interface?  If I forward on the 
extra bytes, then a 1500 byte packet becomes 1504 and fails the MTU check on 
the other side of the wireless interface (when it is passed back to eth0).

TIA,
Adam

<Prev in Thread] Current Thread [Next in Thread>