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

Request flag is missing? #275

Open
fractalb opened this issue Mar 28, 2021 · 1 comment
Open

Request flag is missing? #275

fractalb opened this issue Mar 28, 2021 · 1 comment

Comments

@fractalb
Copy link
Contributor

if (!(msg = nlmsg_alloc_simple(XFRM_MSG_GETSA, 0)))
I think that NLM_F_REQUEST flag should have been the second argument in the above function call nlmsg_alloc_simple.

This code is from xfrmnl_sa_build_get_request function defined in the file lib/xfrm/sa.c

@chengyechun
Copy link

In order to avoiding the Devil's Numbers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants