public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4.4 0/2] net: initialize fastreuse on inet_inherit_port
@ 2020-09-02 14:05 Tim Froidcoeur
  2020-09-02 14:05 ` [PATCH 4.4 1/2] net: refactor bind_bucket fastreuse into helper Tim Froidcoeur
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tim Froidcoeur @ 2020-09-02 14:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: stable, gregkh, matthieu.baerts, davem, Tim Froidcoeur

Fix for TPROXY initialization of fastreuse flag.
upstream patch was backported by Greg K-H to 4.14 and higher stable version.

see also https://lore.kernel.org/stable/20200818072007.GA9254@kroah.com

code in inet_csk_get_port for 4.4 (and 4.9) is different from
the upstream version, so these backports had to be adapted (a bit)

Tim Froidcoeur (2):
  net: refactor bind_bucket fastreuse into helper
  net: initialize fastreuse on inet_inherit_port

 include/net/inet_connection_sock.h |  4 +++
 net/ipv4/inet_connection_sock.c    | 46 ++++++++++++++++++------------
 net/ipv4/inet_hashtables.c         |  1 +
 3 files changed, 33 insertions(+), 18 deletions(-)

--
2.25.1

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

end of thread, other threads:[~2020-09-08 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-02 14:05 [PATCH 4.4 0/2] net: initialize fastreuse on inet_inherit_port Tim Froidcoeur
2020-09-02 14:05 ` [PATCH 4.4 1/2] net: refactor bind_bucket fastreuse into helper Tim Froidcoeur
2020-09-02 14:05 ` [PATCH 4.4 2/2] net: initialize fastreuse on inet_inherit_port Tim Froidcoeur
2020-09-08 13:20 ` [PATCH 4.4 0/2] " Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox