freebsd-skq/sys/dev/bnxt
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
..
bnxt_hwrm.c
bnxt_hwrm.h
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_txrx.c
bnxt.h
convert_hsi.pl
hsi_struct_def.h
if_bnxt.c bnxt(4): Fix ioctls when user addresses are inaccessable. 2020-03-04 17:55:57 +00:00