ixgbe: zero out mailbox buffer on init
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 26 Jul 2013 07:34:54 +0000 (07:34 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 29 Aug 2013 10:04:18 +0000 (03:04 -0700)
commitb08e1ed9cfcf789421b7eccdd941f3f681c0a4ab
treea273542df5d83ea49761e4288d7ae891f4bf1cd8
parent4ec375b1ec8ede2691a6511fff91a2b67fe73c3b
ixgbe: zero out mailbox buffer on init

This patch initializes the msgbuf array to 0 in order to avoid using random
numbers from the memory as MAC address for the VF.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c