/* Unregister SNAP clients. Protocols no longer want to play with us ...  */
void unregister_snap_client(struct datalink_proto *proto)
/* Unregister SNAP clients. Protocols no longer want to play with us ...  */
void unregister_snap_client(struct datalink_proto *proto)
{
	spin_lock_bh(&snap_lock);
	list_del_rcu(&proto->node);
	spin_unlock_bh(&snap_lock);
	synchronize_net();
	kfree(proto);
}