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

BIO_ALREADY_TRACED value conflict #188

Closed
crawfxrd opened this issue Jul 12, 2019 · 0 comments · Fixed by #190
Closed

BIO_ALREADY_TRACED value conflict #188

crawfxrd opened this issue Jul 12, 2019 · 0 comments · Fixed by #190
Assignees

Comments

@crawfxrd
Copy link
Contributor

crawfxrd commented Jul 12, 2019

While looking over bio changes, I noticed the commit of torvalds/linux@2b24e6f said

With the introduction of BIO_NO_PAGE_REF we've used up all available bits
in bio::bi_flags.

This didn't sound correct, as we are using a shift of 20 for our custom flag.

Turns out, bi_flags has been unsigned short since 4.8: torvalds/linux@c0acf12

And with the introduction of BIO_NO_PAGE_REF in 5.1, we're out of usable bits.

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

Successfully merging a pull request may close this issue.

1 participant