Skip to content
Commit cada7ccd authored by Andra Paraschiv's avatar Andra Paraschiv Committed by Jakub Kicinski
Browse files

vsock_addr: Check for supported flag values



Check if the provided flags value from the vsock address data structure
includes the supported flags in the corresponding kernel version.

The first byte of the "svm_zero" field is used as "svm_flags", so add
the flags check instead.

Changelog

v3 -> v4

* New patch in v4.

Signed-off-by: default avatarAndra Paraschiv <andraprs@amazon.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent caaf95e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment