netdev
[Top] [All Lists]

[PATCH] IPv6: No fragmentation of packets with length <= mtu

To: usagi-core@xxxxxxxxxxxxxx
Subject: [PATCH] IPv6: No fragmentation of packets with length <= mtu
From: Ville Nuorvala <vnuorval@xxxxxxxxxx>
Date: Wed, 6 Aug 2003 13:00:41 +0300 (EEST)
Cc: netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
Hi guys,

I noticed ip6_append_data() always reserves space for the fragment header
at the cost of the payload data. This leads to the unnecessary
fragmentation of packets with lengths close (or equal) to the link-mtu.
This can for example be seen with ping6 -s 1448 (on an ethernet link).

My attached patch _seems_ to fix the problem without breaking anything
else, but can you still verify this?

Thanks,
Ville
--
Ville Nuorvala
Research Assistant, Institute of Digital Communications,
Helsinki University of Technology
email: vnuorval@xxxxxxxxxx, phone: +358 (0)9 451 5257

Attachment: ip6_output_frag.patch
Description: Text document

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