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
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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo