]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sctp: Drop ICMP packet too big message with MTU larger than current PMTU
authorWei Yongjun <yjwei@cn.fujitsu.com>
Thu, 23 Oct 2008 07:59:52 +0000 (00:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Oct 2008 07:59:52 +0000 (00:59 -0700)
commit91bd6b1e030266cf87d3f567b49f0fa60a7318ba
treed67e4365680e59a6eed1a13847f5fb9e016a7eed
parentdcc51417e5ee71bc1984825c23616030d57b83a4
sctp: Drop ICMP packet too big message with MTU larger than current PMTU

If ICMP packet too big message is received with MTU larger than current
PMTU, SCTP will still accept this ICMP message and sync the PMTU of assoc
with the wrong MTU.

Endpoing A                 Endpoint B
(ESTABLISHED)              (ESTABLISHED)
ICMP         --------->
(packet too big, MTU too larger)
                           sync PMTU

This patch fixed the problem by drop that ICMP message.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/input.c