Re: SCTP PMTU calculation not accounting chunk padding.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/09/2015 03:00 AM, Deepak Khandelwal wrote:
> Hi,
> 
> 
> It looks like the PMTU calculation in SCTP kernel / RFC, seems to be not
> accounting the chunk padding
> 
> 
> SCTP calculate the fragmentation point to fragment the packet.
> 
> 
> 
> Frag_point = PMTU – (sctp header length + sctp chunk length) – IP header
> length
> 
> 
> 
> After the frag_point, user data fragmentation happens at SCTP layer, but
> while sending packet due the need of chunk padding, data size still more
> then mtu of in between router, and packet doesn’t pass through to the
> channel . local SCPT stack always end up receiving the ICMP FRAG _NEEDED
> messages.
> 
> I am using Kernel version 2.6.34.9-WR4.3
> 

You are missing

commit c08751c851b78514f6ec5f77f7cbebaac63d15c0
Author: Alexander Sverdlin <alexander.sverdlin@xxxxxxx>
Date:   Mon Sep 2 15:58:25 2013 +0200

    net: sctp: Fix data chunk fragmentation for MTU values which are not multiple of 4


-vlad
> Thanks !
> Best Regards,
> Deepak
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux