Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这是一篇测试博客cyf #1

Open
2 tasks
daocaisheng opened this issue Dec 6, 2023 · 1 comment
Open
2 tasks

这是一篇测试博客cyf #1

daocaisheng opened this issue Dec 6, 2023 · 1 comment
Labels
linux 内核 linux内核学习记录

Comments

@daocaisheng
Copy link
Owner

daocaisheng commented Dec 6, 2023

这篇博客主要是为了测试使用
1

struct l2tp_session *l2tp_session_get(const struct net *net, u32 session_id)
{
	struct hlist_head *session_list;
	struct l2tp_session *session;

	session_list = l2tp_session_id_hash_2(l2tp_pernet(net), session_id);

	rcu_read_lock_bh();
	hlist_for_each_entry_rcu(session, session_list, global_hlist)
		if (session->session_id == session_id) {
			l2tp_session_inc_refcount(session);
			rcu_read_unlock_bh();

			return session;
		}
	rcu_read_unlock_bh();

	return NULL;
}
EXPORT_SYMBOL_GPL(l2tp_session_get);

https://github.com/rainzhaojy/blogs/issues/1

@daocaisheng
/哈哈哈

我是666

  1. 521
  2. 484
  3. hjjj
  • jho'

  • hlkjb

  • n后i员工

  • 会女仆i哦比
    @

zp1112/blog#3

@daocaisheng daocaisheng added the linux 内核 linux内核学习记录 label Dec 6, 2023
@daocaisheng
Copy link
Owner Author

212903zhkae7hcxhhemyrm

@daocaisheng daocaisheng changed the title 这是一篇测试博客 这是一篇测试博客cyf Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux 内核 linux内核学习记录
Projects
None yet
Development

No branches or pull requests

1 participant