|
|
Log in / Subscribe / Register

tcp: add support for SO_PEEK_OFF socket option

From:  jmaloy-AT-redhat.com
To:  netdev-AT-vger.kernel.org, davem-AT-davemloft.net
Subject:  [net-next 0/2] tcp: add support for SO_PEEK_OFF socket option
Date:  Sat, 06 Apr 2024 14:21:05 -0400
Message-ID:  <20240406182107.261472-1-jmaloy@redhat.com>
Cc:  kuba-AT-kernel.org, passt-dev-AT-passt.top, jmaloy-AT-redhat.com, sbrivio-AT-redhat.com, lvivier-AT-redhat.com, dgibson-AT-redhat.com, eric.dumazet-AT-gmail.com, edumazet-AT-google.com
Archive-link:  Article

From: Jon Maloy <jmaloy@redhat.com>

We add support for the SO_PEEK_OFF socket option as a new feature in
TCP.

In a separate patch, we fix a bug that was revealed while testing this
feature.

Jon Maloy (2):
  tcp: add support for SO_PEEK_OFF socket option
  tcp: correct handling of extreme menory squeeze

 net/ipv4/af_inet.c    |  1 +
 net/ipv4/tcp.c        | 16 ++++++++++------
 net/ipv4/tcp_output.c | 14 +++++++++-----
 3 files changed, 20 insertions(+), 11 deletions(-)

-- 
2.42.0




Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds