[B.A.T.M.A.N.] Layer 2 fragmentation

Andrew Lunn andrew at lunn.ch
Thu May 27 17:07:00 CEST 2010

On Thu, May 27, 2010 at 04:23:50PM +0200, Andreas Langer wrote:
> Hello,
> i looked into the problem of fragmenting packets on layer2 to solve the mtu issue. I found a
> unforeseen problem : oversized packets will be dropped by the bridge module ( if bat0 is in a
> bridge ). I think the reason can be found here net/bridge/br_forward.c on line 44
> 43         /* drop mtu oversized packets except gso */
> 44         if (packet_length(skb) > skb->dev->mtu && !skb_is_gso(skb))
> 45                 kfree_skb(skb);

I don't quite understand the problem. If you have implemented
fragmentation, you will naturally increase the MTU on bat0 so that it
is the standard for Ethernet. So this statement will not trigger.


More information about the B.A.T.M.A.N mailing list