Dan Carpenter dc35616e6c netrom: fix api breakage in nr_setsockopt()
This needs to copy an unsigned int from user space instead of a long to
avoid breaking user space with an API change.

I have updated all the integer overflow checks from ULONG to UINT as
well.  This is a slight API change but I do not expect it to affect
anything in real life.

Fixes: 3087a6f36ee0 ("netrom: fix copying in user data in nr_setsockopt")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-07 14:11:05 +00:00
..
2021-11-04 21:04:25 +09:00
2021-10-13 09:40:46 -07:00
2021-10-24 13:59:45 +01:00
2021-10-25 11:01:29 -07:00
2021-06-29 11:28:21 -07:00
2021-10-13 09:40:46 -07:00
2021-10-13 09:40:45 -07:00
2021-11-27 10:33:55 -08:00
2021-07-29 15:06:49 +01:00
2021-08-31 16:43:06 -07:00