[PATCH net v4 1/2] net: refactor bind_bucket fastreuse into helper

2020-08-11 Thread Tim Froidcoeur
Refactor the fastreuse update code in inet_csk_get_port into a small helper function that can be called from other places. Acked-by: Matthieu Baerts Signed-off-by: Tim Froidcoeur --- include/net/inet_connection_sock.h | 4 ++ net/ipv4/inet_connection_sock.c| 97

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

2020-08-11 Thread Tim Froidcoeur
one of the listen socket. Fixes: 093d282321da ("tproxy: fix hash locking issue when using port redirection in __inet_inherit_port()") Acked-by: Matthieu Baerts Signed-off-by: Tim Froidcoeur --- net/ipv4/inet_hashtables.c | 1 + 1 file changed, 1 insertion(+) diff --git

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

2020-08-11 Thread Tim Froidcoeur
unnecessary cast 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| 97 -- net/ipv4/inet_hashtables.c | 1 + 3 files

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

2020-08-06 Thread Tim Froidcoeur
easier to understand. Patch 2/2 calls this new helper when __inet_inherit_port decides to create a new bind_bucket or use a different bind_bucket than the one of the listen socket. v3: - remove company disclaimer from automatic signature v2: - remove unnecessary cast Tim Froidcoeur (2): net

[PATCH net v3 2/2] net: initialize fastreuse on inet_inherit_port

2020-08-06 Thread Tim Froidcoeur
one of the listen socket. Fixes: 093d282321da ("tproxy: fix hash locking issue when using port redirection in __inet_inherit_port()") Acked-by: Matthieu Baerts Signed-off-by: Tim Froidcoeur --- net/ipv4/inet_hashtables.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH net v3 1/2] net: refactor bind_bucket fastreuse into helper

2020-08-06 Thread Tim Froidcoeur
Refactor the fastreuse update code in inet_csk_get_port into a small helper function that can be called from other places. Acked-by: Matthieu Baerts Signed-off-by: Tim Froidcoeur --- Notes: v2: - remove unnecessary cast (Matt) include/net/inet_connection_sock.h | 4 ++ net/ipv4

[PATCH net v2 2/2] net: initialize fastreuse on inet_inherit_port

2020-08-06 Thread Tim Froidcoeur
one of the listen socket. Fixes: 093d282321da ("tproxy: fix hash locking issue when using port redirection in __inet_inherit_port()") Acked-by: Matthieu Baerts Signed-off-by: Tim Froidcoeur --- net/ipv4/inet_hashtables.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH net v2 1/2] net: refactor bind_bucket fastreuse into helper

2020-08-06 Thread Tim Froidcoeur
Refactor the fastreuse update code in inet_csk_get_port into a small helper function that can be called from other places. Acked-by: Matthieu Baerts Signed-off-by: Tim Froidcoeur --- Notes: - remove unnecessary cast (Matt) include/net/inet_connection_sock.h | 4 ++ net/ipv4

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

2020-08-05 Thread Tim Froidcoeur
one of the listen socket. Fixes: 093d282321da ("tproxy: fix hash locking issue when using port redirection in __inet_inherit_port()") Acked-by: Matthieu Baerts Signed-off-by: Tim Froidcoeur --- net/ipv4/inet_hashtables.c | 1 + 1 file changed, 1 insertion(+) diff --git

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

2020-08-05 Thread Tim Froidcoeur
easier to understand. Patch 2/2 calls this new helper when __inet_inherit_port decides to create a new bind_bucket or use a different bind_bucket than the one of the listen socket. Tim Froidcoeur (2): net: refactor bind_bucket fastreuse into helper net: initialize fastreuse on inet_inherit_port

[PATCH net 1/2] net: refactor bind_bucket fastreuse into helper

2020-08-05 Thread Tim Froidcoeur
Refactor the fastreuse update code in inet_csk_get_port into a small helper function that can be called from other places. Acked-by: Matthieu Baerts Signed-off-by: Tim Froidcoeur --- include/net/inet_connection_sock.h | 4 ++ net/ipv4/inet_connection_sock.c| 99