Igalia / snabb

Snabb Switch: Fast open source packet processing
Apache License 2.0
48 stars 5 forks source link

ljsyscall: ensure size matches mask for get_mempolicy #1198

Closed takikawa closed 5 years ago

takikawa commented 5 years ago

This is the same fix as https://github.com/snabbco/snabb/pull/1268 on the upstream repo with just slightly different code. This version seems to work for me on snabb2, but the upstream PR didn't quite work for me.

Putting this here because we had discussed merging this via the lwaftr branch and then upstreaming it.

eugeneia commented 5 years ago

@justincormack pinging you in case this bug is also in ljsyscall master.