netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/4] net/smc: fixes from 2018-05-17 - v2
@ 2018-04-19 13:56 Ursula Braun
  2018-04-19 13:56 ` [PATCH net-next v2 1/4] net/smc: fix structure size Ursula Braun
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ursula Braun @ 2018-04-19 13:56 UTC (permalink / raw)
  To: davem; +Cc: netdev, linux-s390, schwidefsky, heiko.carstens, raspl, ubraun

From: Ursula Braun <ursula.braun@linux.vnet.ibm.com>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-20 15:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-19 13:56 [PATCH net-next v2 0/4] net/smc: fixes from 2018-05-17 - v2 Ursula Braun
2018-04-19 13:56 ` [PATCH net-next v2 1/4] net/smc: fix structure size Ursula Braun
2018-04-19 13:56 ` [PATCH net-next v2 2/4] net/smc: handle sockopt TCP_NODELAY Ursula Braun
2018-04-20 15:31   ` David Miller
2018-04-19 13:56 ` [PATCH net-next v2 3/4] net/smc: handle sockopt TCP_CORK Ursula Braun
2018-04-19 13:56 ` [PATCH net-next v2 4/4] net/smc: handle sockopt TCP_DEFER_ACCEPT Ursula Braun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).