brooks 37dfb1e30b bnxt(4): Fix ioctls when user addresses are inaccessable.
Check copyin's error code (differ adding copyout checks at this time).

Don't directly access user memory in the switch statement.

Since bnxt_ioctl_data isn't all that big, use a stack allocation.

Reviewed by:	jhb
MFC after:	3 days
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D23933
2020-03-04 17:55:57 +00:00
..
2020-02-26 19:39:59 +00:00
2019-05-24 06:07:33 +00:00
2020-02-13 19:07:42 +00:00
2020-02-03 17:35:11 +00:00
2019-10-21 18:11:19 +00:00
2020-02-03 17:35:11 +00:00
2019-10-21 18:11:32 +00:00
2020-02-03 17:35:11 +00:00
2020-02-12 00:58:17 +00:00
2020-03-01 18:55:59 +00:00
2020-02-03 17:35:11 +00:00
2019-12-26 17:25:51 +00:00
2020-02-07 19:53:07 +00:00
2019-10-21 18:07:11 +00:00
2020-02-28 21:31:40 +00:00
2020-02-03 17:35:11 +00:00
2020-03-03 18:58:43 +00:00
2019-10-21 18:11:58 +00:00
2020-02-27 15:25:26 +00:00
2020-02-03 17:35:11 +00:00
2020-02-07 19:53:07 +00:00
2020-02-07 19:53:07 +00:00
2020-02-03 17:35:11 +00:00
2019-10-21 18:07:35 +00:00
2020-02-27 15:25:31 +00:00
2020-02-03 17:35:11 +00:00
2019-06-08 16:26:56 +00:00
2020-02-27 15:25:21 +00:00
2019-10-21 18:07:40 +00:00
2019-10-21 18:07:44 +00:00
2020-02-03 17:35:11 +00:00
2019-02-04 21:28:25 +00:00
2019-10-21 18:08:03 +00:00
2020-02-01 23:16:30 +00:00
2020-02-28 15:59:35 +00:00
2019-02-26 19:55:03 +00:00