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  linux-cve-announce  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:	Thu, 19 Jul 2012 19:08:34 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	David Miller <davem@...emloft.net>
Cc:	netdev@...r.kernel.org, therbert@...gle.com, wsommerfeld@...gle.com
Subject: Re: [PATCH net-next] ipv4: tcp: remove per net tcp_sock

On Thu, 2012-07-19 at 08:35 -0700, David Miller wrote:

> > @@ -2624,13 +2624,11 @@ EXPORT_SYMBOL(tcp_prot);
> >  
> >  static int __net_init tcp_sk_init(struct net *net)
> >  {
> > -	return inet_ctl_sock_create(&net->ipv4.tcp_sock,
> > -				    PF_INET, SOCK_RAW, IPPROTO_TCP, net);
> > +	return 0;
> >  }
> >  
> >  static void __net_exit tcp_sk_exit(struct net *net)
> >  {
> > -	inet_ctl_sock_destroy(net->ipv4.tcp_sock);
> >  }
> >  
> >  static void __net_exit tcp_sk_exit_batch(struct list_head *net_exit_list)
> 
> If these no longer really do anything, just send me a patch to kill
> them off entirely.
> 

We cant remove them, because of tcp_sk_exit_batch()


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ