From patchwork Wed Jan 3 22:59:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Ricardo Leitner X-Patchwork-Id: 855302 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="msBslDJ2"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zBmc83yccz9s9Y for ; Thu, 4 Jan 2018 10:00:24 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751237AbeACXAV (ORCPT ); Wed, 3 Jan 2018 18:00:21 -0500 Received: from mail-qk0-f196.google.com ([209.85.220.196]:37089 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751014AbeACXAU (ORCPT ); Wed, 3 Jan 2018 18:00:20 -0500 Received: by mail-qk0-f196.google.com with SMTP id p13so3512684qke.4; Wed, 03 Jan 2018 15:00:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=PtvWQZocPJI5lmZaZgvxyUQRMXqCTtI5Iq6xrLIm204=; b=msBslDJ2KlO7z24ghTGt5ELRT9pVGtTYtkRlMLSw1Ltvz3ZmqX9hd5OaqVlBg+3ZxP 4hcWL6uRiF0M2vvQB9Ams7aKdG2y7erfFeN/LkhkRBVGaift17t5p4smoDJi2HrAk3V2 0tZFVFI4tH+s6BQWCujvlhCZhtohwmDD1Ah1BtLon4aZgCeJMvuiP4vZzbwKdqGwqymb AZAm+oKejTnLjeeGY4ZswQvwodngYGxK7CDcpuzzSWo11ov8MtH3cxb6gNpLHo4yJKTL LQJor5KeJqtxszpRWWpPoaof3ONVgaDnWEX/S/OWqKMXfpDK6GoUUjjxrcoaasLi8DE1 0O9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PtvWQZocPJI5lmZaZgvxyUQRMXqCTtI5Iq6xrLIm204=; b=P9OeqdmJDiv+cYcMMovOESqBgaQVHj+4dRlYHVTzQ58Z84j4MP1WoNQTCNKredBHjf eXz/fN79OPpR6aVrcajebIe/ip3MrWeYDForT6ZzvpjpvFQhlJAl0gV8M46xnTXdiu83 TYVZEuLU56t1wjc6t8we8W+0V5Vu+d2WfWhUttw2KwCWpGmMw/Doq6K4OfwACa3Ofavy aIcp9x9GY39O92yNe4oNe2KBJ1Bu5bchvtrbb/7ykVf8zddelU3CJtc6+nN5JwuGj7wg B8B+IVPhKKuBFgAHuYUWGDJxP8hI7aQHaGkySvZfSJivDVSrApFj+yNVBHVwqiy/6fUt FuGA== X-Gm-Message-State: AKGB3mJNuD8jlV3cs0cxGO35ulkmn4hqJUW8mk4QcXTFwIJDo5xvzs+W pA4F5K3c2C12JkczUhMMMBVYEg== X-Google-Smtp-Source: ACJfBotxjVKMMfslNm16PLK3QmT6KH8iyeEQrphwlREcUevhSpnFZz0KjzFIp9w/MuxccPE0quM/0A== X-Received: by 10.55.41.156 with SMTP id p28mr3874846qkp.176.1515020419264; Wed, 03 Jan 2018 15:00:19 -0800 (PST) Received: from localhost.localdomain.com ([2001:1284:f013:23a9:9544:d086:4c8e:2344]) by smtp.gmail.com with ESMTPSA id v50sm1309462qta.0.2018.01.03.15.00.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Jan 2018 15:00:18 -0800 (PST) From: Marcelo Ricardo Leitner To: netdev@vger.kernel.org Cc: linux-sctp@vger.kernel.org, Xin Long , Vlad Yasevich , Neil Horman Subject: [PATCH net v2 0/2] SCTP PMTU discovery fixes Date: Wed, 3 Jan 2018 20:59:50 -0200 Message-Id: X-Mailer: git-send-email 2.14.3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patchset fixes 2 issues with PMTU discovery that can lead to flood of retransmissions. The first patch fixes the issue for when PMTUD is disabled by the application, while the second fixes it for when its enabled. Please consider these to stable. Thanks, Marcelo Ricardo Leitner (2): sctp: do not retransmit upon FragNeeded if PMTU discovery is disabled sctp: fix the handling of ICMP Frag Needed for too small MTUs include/net/sctp/structs.h | 2 +- net/sctp/input.c | 21 +++++++++++++++------ net/sctp/transport.c | 29 +++++++++++++++++++---------- 3 files changed, 35 insertions(+), 17 deletions(-)