Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ac46a462 authored by Anton Blanchard's avatar Anton Blanchard Committed by David S. Miller
Browse files

be2net: Missing byteswap in be_get_fw_log_level causes oops on PowerPC



We are seeing an oops in be_get_fw_log_level on ppc64 where we walk
off the end of memory.

commit 941a77d5 (be2net: Fix to allow get/set of debug levels in
the firmware.) requires byteswapping of num_modes and num_modules.

Cc: stable@vger.kernel.org # 3.5+
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Acked-by: default avatarSathya Perla <sperla@emulex.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 57dbf29a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment