mbox series

[net-next,0/2] tcp: add support for SO_PEEK_OFF socket option

Message ID 20240406182107.261472-1-jmaloy@redhat.com (mailing list archive)
Headers show
Series tcp: add support for SO_PEEK_OFF socket option | expand

Message

Jon Maloy April 6, 2024, 6:21 p.m. UTC
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(-)