Skip to content
Commit 4d295e54 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by David S. Miller
Browse files

net: simplify cBPF setsockopt compat handling



Add a helper that copies either a native or compat bpf_fprog from
userspace after verifying the length, and remove the compat setsockopt
handlers that now aren't required.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d8a9b38f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment