dccp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 net 0/2] dccp/tcp: Relocate security_inet_conn_request().
@ 2023-10-30 20:10 Kuniyuki Iwashima
  2023-10-30 20:10 ` [PATCH v1 net 1/2] dccp: Call security_inet_conn_request() after setting IPv4 addresses Kuniyuki Iwashima
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kuniyuki Iwashima @ 2023-10-30 20:10 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, David Ahern
  Cc: Kuniyuki Iwashima, Kuniyuki Iwashima, netdev, dccp

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


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

end of thread, other threads:[~2023-11-02 12:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-30 20:10 [PATCH v1 net 0/2] dccp/tcp: Relocate security_inet_conn_request() Kuniyuki Iwashima
2023-10-30 20:10 ` [PATCH v1 net 1/2] dccp: Call security_inet_conn_request() after setting IPv4 addresses Kuniyuki Iwashima
2023-10-30 20:10 ` [PATCH v1 net 2/2] dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses Kuniyuki Iwashima
2023-10-30 21:12   ` Paul Moore
2023-10-30 21:20     ` Kuniyuki Iwashima
2023-10-30 22:00       ` Paul Moore
2023-11-02 12:10 ` [PATCH v1 net 0/2] dccp/tcp: Relocate security_inet_conn_request() patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).