freebsd-dev/sys/dev/bnxt
Brooks Davis ac09be5297 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
..
bnxt_hwrm.c bnxt(4): Eliminate wrong sizeof() expression in memset() 2020-01-29 05:42:24 +00:00
bnxt_hwrm.h Support short HWRM commands 2017-12-19 21:07:30 +00:00
bnxt_ioctl.h
bnxt_sysctl.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
bnxt_sysctl.h bnxt: add support for Flow control setting using sysctl 2017-10-24 21:18:50 +00:00
bnxt_txrx.c netmap and iflib drivers, silence unused var warnings 2018-05-19 05:57:26 +00:00
bnxt.h Support short HWRM commands 2017-12-19 21:07:30 +00:00
convert_hsi.pl
hsi_struct_def.h bnxt: Update firmware header file with the latest one 2017-09-06 20:19:30 +00:00
if_bnxt.c bnxt(4): Fix ioctls when user addresses are inaccessable. 2020-03-04 17:55:57 +00:00