[PATCH v1 net 0/2] dccp/tcp: Relocate security_inet_conn_request().

Kuniyuki Iwashima
2023-10-30T20:11:05Z

security_inet_conn_request() reads reqsk's remote address, but it's not
initialised in some places.

Let's make sure the address is set before security_inet_conn_request().

Kuniyuki Iwashima (2):
dccp: Call security_inet_conn_request() after setting IPv4 addresses.
dccp/tcp: Call security_inet_conn_request() after setting IPv6
addresses.

net/dccp/ipv4.c | 6 +++---
net/dccp/ipv6.c | 6 +++---
net/ipv6/syncookies.c | 7 ++++---
3 files changed, 10 insertions(+), 9 deletions(-)

--
2.30.2