From: Daniel Borkmann <dborkman@xxxxxxxxxx> Date: Mon, 16 Sep 2013 12:36:02 +0200 > Adapt the same behaviour for SCTP as present in TCP for ICMP redirect > messages. For IPv6, RFC4443, section 2.4. says: > > ... > (e) An ICMPv6 error message MUST NOT be originated as a result of > receiving the following: > ... > (e.2) An ICMPv6 redirect message [IPv6-DISC]. > ... > > Therefore, do not report an error to user space, just invoke dst's redirect > callback and leave, same for IPv4 as done in TCP as well. The implication > w/o having this patch could be that the reception of such packets would > generate a poll notification and in worst case it could even tear down the > whole connection. Therefore, stop updating sk_err on redirects. > > Reported-by: Duan Jiong <duanj.fnst@xxxxxxxxxxxxxx> > Reported-by: Hannes Frederic Sowa <hannes@xxxxxxxxxxxxxxxxxxx> > Suggested-by: Vlad Yasevich <vyasevich@xxxxxxxxx> > Signed-off-by: Daniel Borkmann <dborkman@xxxxxxxxxx> Applied and queued up for -stable, thanks Daniel. -- 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