[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161026.173248.247683142442678932.davem@davemloft.net>
Date: Wed, 26 Oct 2016 17:32:48 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: lucien.xin@...il.com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
marcelo.leitner@...il.com, vyasevich@...il.com,
daniel@...earbox.net
Subject: Re: [PATCH net] sctp: fix the panic caused by route update
From: Xin Long <lucien.xin@...il.com>
Date: Mon, 24 Oct 2016 01:01:09 +0800
> Commit 7303a1475008 ("sctp: identify chunks that need to be fragmented
> at IP level") made the chunk be fragmented at IP level in the next round
> if it's size exceed PMTU.
>
> But there still is another case, PMTU can be updated if transport's dst
> expires and transport's pmtu_pending is set in sctp_packet_transmit. If
> the new PMTU is less than the chunk, the same issue with that commit can
> be triggered.
>
> So we should drop this packet and let it retransmit in another round
> where it would be fragmented at IP level.
>
> This patch is to fix it by checking the chunk size after PMTU may be
> updated and dropping this packet if it's size exceed PMTU.
>
> Fixes: 90017accff61 ("sctp: Add GSO support")
> Signed-off-by: Xin Long <lucien.xin@...il.com>
Applied, and queued up for -stable, thanks!
Powered by blists - more mailing lists