Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/compat.c,linux/filter.h: share compat_sock_fprog
Any other users of bpf_*_filter that take a struct sock_fprog from userspace will need to be able to also accept a compat_sock_fprog if the arch supports compat calls. This change allows the existing compat_sock_fprog be shared. Signed-off-by: Will Drewry <[email protected]> Acked-by: Serge Hallyn <[email protected]> Acked-by: Eric Dumazet <[email protected]> Acked-by: Eric Paris <[email protected]> v18: tasered by the apostrophe police v14: rebase/nochanges v13: rebase on to 88ebdda v12: rebase on to linux-next v11: introduction Signed-off-by: James Morris <[email protected]>
- Loading branch information