Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netrom: fix copying in user data in nr_setsockopt
This code used to copy in an unsigned long worth of data before the sockptr_t conversion, so restore that. Fixes: a7b75c5 ("net: pass a sockptr_t into ->setsockopt") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information