lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 25 Nov 2019 10:50:22 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     zenczykowski@...il.com
Cc:     maze@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net-sctp: replace some sock_net(sk) with just 'net'

From: Maciej ┼╗enczykowski <zenczykowski@...il.com>
Date: Sun, 24 Nov 2019 02:47:27 -0800

> @@ -8264,6 +8264,7 @@ static struct sctp_bind_bucket *sctp_bucket_create(
>  
>  static int sctp_get_port_local(struct sock *sk, union sctp_addr *addr)
>  {
> +	struct net *net = sock_net(sk);
>  	struct sctp_sock *sp = sctp_sk(sk);
>  	bool reuse = (sk->sk_reuse || sp->reuse);
>  	struct sctp_bind_hashbucket *head; /* hash list */

Please don't make the reverse christmas tree situation here worse,
thank you.

Powered by blists - more mailing lists