OSDN Git Service

wil6210: fix invalid memory access for rx_buff_mgmt debugfs
authorDedy Lansky <dlansky@codeaurora.org>
Thu, 23 Aug 2018 11:47:13 +0000 (14:47 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 Aug 2018 13:49:15 +0000 (16:49 +0300)
commit4405b632e3da839defec966e4b0be44d0c5e3102
tree774c1b7116791194bdd96cd5d1a4d33c69e4afea
parentb9010f105f21788b2dbe0e9599677a27247a9092
wil6210: fix invalid memory access for rx_buff_mgmt debugfs

Check rx_buff_mgmt is allocated before accessing its internal fields.

Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/debugfs.c