On 06/30, Breno Leitao wrote: > Continue converting the proto-layer getsockopt callbacks to the sockopt_t > interface, switching do_raw_getsockopt() and its raw_geticmpfilter() > helper to take a sockopt_t. > > The thin raw_getsockopt() wrapper keeps its __user signature for now: it > builds a user-backed sockopt_t with sockopt_init_user(), calls the helper, > and writes the returned length back to optlen. The helper uses > copy_to_iter() instead of copy_to_user(). No functional change. > > Signed-off-by: Breno Leitao <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>

