]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: fix null dereference
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Sat, 14 Dec 2013 11:26:45 +0000 (03:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Dec 2013 03:59:41 +0000 (22:59 -0500)
commit2d833b9fba082a5efc5f4139efed6fa8ad9cdaea
tree40162d132d29d1620e817a4911ee483ea30f8527
parentc3ccc3c871788edc10793c6309e1822d1a64eb4f
i40e: fix null dereference

If the vsi->tx_rings structure is NULL we don't want to panic.

Change-Id: Ic694f043701738c434e8ebe0caf0673f4410dc10
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c