Re: [PATCH net v4 0/2] net: initialize fastreuse on inet_inherit_port

2020-08-11 Thread David Miller
From: Tim Froidcoeur Date: Tue, 11 Aug 2020 20:33:22 +0200 > In the case of TPROXY, bind_conflict optimizations for SO_REUSEADDR or > SO_REUSEPORT are broken, possibly resulting in O(n) instead of O(1) bind > behaviour or in the incorrect reuse of a bind. > > the kernel keeps track for each bind

[PATCH net v4 0/2] net: initialize fastreuse on inet_inherit_port

2020-08-11 Thread Tim Froidcoeur
In the case of TPROXY, bind_conflict optimizations for SO_REUSEADDR or SO_REUSEPORT are broken, possibly resulting in O(n) instead of O(1) bind behaviour or in the incorrect reuse of a bind. the kernel keeps track for each bind_bucket if all sockets in the bind_bucket support SO_REUSEADDR or SO_RE