]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Add protection from VF invalid target DMA
authorGreg Rose <gregory.v.rose@intel.com>
Wed, 7 Sep 2011 05:59:35 +0000 (05:59 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:19:04 +0000 (22:19 +0800)
commit363fb7c5435b4c968a2621116280e74f34f6a37e
treefa4af9b25611a1943b153c136be9157f649167be
parent1da0cb65d831156824f3dee6e99e194d9868d2f5
ixgbe: Add protection from VF invalid target DMA

It is possible for a VF to set an invalid target DMA address in its
Tx/Rx descriptor buffer pointers.  The workarounds in this patch
will guard against such an event and issue a VFLR to the VF in response.
The VFLR will shut down the VF until an administrator can take action
to investigate the event and correct the problem.

(cherry picked from commit 83c61fa97a7d4ef16506a760f9e52b3144978346)
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_main.c