From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ursula Braun Subject: [PATCH net-next v2 0/4] net/smc: fixes from 2018-05-17 - v2 Date: Thu, 19 Apr 2018 15:56:51 +0200 Message-ID: <20180419135655.3058-1-ubraun@linux.ibm.com> Cc: netdev@vger.kernel.org, linux-s390@vger.kernel.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, raspl@linux.vnet.ibm.com, ubraun@linux.vnet.ibm.com To: davem@davemloft.net Return-path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:50458 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752288AbeDSN5C (ORCPT ); Thu, 19 Apr 2018 09:57:02 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3JDuh08114557 for ; Thu, 19 Apr 2018 09:57:02 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hevc6r8k1-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Thu, 19 Apr 2018 09:57:02 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 19 Apr 2018 14:57:00 +0100 Sender: netdev-owner@vger.kernel.org List-ID: From: Ursula Braun Dave, thanks for your feedback and pointing out the kernel_setsockopt() problem(s) in patch 2/4. Here is now version 2 of the patch series with patches 2-4 implementing sockopts that require special handling in SMC. Version 2 changes of Patch 2/4 (and 3/4): * return error -EOPNOTSUPP for TCP_FASTOPEN sockopts * fix a kernel_setsockopt() usage bug by switching parameter variable from type "u8" to "int" * add return code validation when calling kernel_setsockopt() * propagate a setsockopt error on the internal CLC socket to the SMC socket. Regards, Ursula Karsten Graul (1): net/smc: fix structure size Ursula Braun (3): net/smc: handle sockopt TCP_NODELAY net/smc: handle sockopt TCP_CORK net/smc: handle sockopt TCP_DEFER_ACCEPT net/smc/af_smc.c | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- net/smc/smc.h | 12 ++++ net/smc/smc_cdc.c | 2 +- net/smc/smc_cdc.h | 2 +- net/smc/smc_rx.c | 2 +- net/smc/smc_rx.h | 1 + net/smc/smc_tx.c | 16 ++++- net/smc/smc_tx.h | 8 +++ 8 files changed, 225 insertions(+), 11 deletions(-) -- 2.13.5