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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 23 Aug 2006 10:22:24 -0400 (EDT)
From:	James Morris <jmorris@...ei.org>
To:	gerrit@....abdn.ac.uk
cc:	davem@...emloft.net, alan@...rguk.ukuu.org.uk,
	kuznet@....inr.ac.ru, pekkas@...core.fi, kaber@...eworks.de,
	yoshfuji@...ux-ipv6.org, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [RFC][PATCH 1/3] net/ipv4: UDP-Lite extensions

On Wed, 23 Aug 2006, gerrit@....abdn.ac.uk wrote:

> +void __init udplite4_register(void)
> +{
> +	if (proto_register(&udplite_prot, 1))
> +		goto out_register_err;
> +
> +	if (inet_add_protocol(&udplite_protocol, IPPROTO_UDPLITE) < 0)
> +		goto out_unregister_proto;
> +
> +	inet_register_protosw(&udplite4_protosw);
> +
> +	return;
> +
> +out_unregister_proto:
> +	proto_unregister(&udplite_prot);
> +out_register_err:
> +	printk(KERN_ERR "udplite4_register: Cannot add UDP-Lite protocol\n");
> +}

Other protocols & network components call panic() if they fail during boot 
initialization.  Not sure if this is a great thing, but it raises the 
issue of whether udp-lite should remain consistent here.



- James
-- 
James Morris
<jmorris@...ei.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ