/* Register a notifier to be called when a netevent occurs. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.  */
int register_netevent_notifier(struct notifier_block *nb)
/* Register a notifier to be called when a netevent occurs. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.  */
int register_netevent_notifier(struct notifier_block *nb)
{
	int err;
	err = atomic_notifier_chain_register(&netevent_notif_chain, nb);
	return err;
}