diff options
| author | Greg Rose <gregory.v.rose@intel.com> | 2012-09-21 00:21:39 +0000 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-10-29 23:48:58 -0700 |
| commit | 91ffb8e0dc662868addeff9fd013145c49a43c4a (patch) | |
| tree | fee430bdc1420e92340a48b6aab345eb37aba5eb /drivers/net/xen-netback/interface.c | |
| parent | f9d08f165b8a5a4af6f827318e692b57bc683825 (diff) | |
| download | olio-linux-3.10-91ffb8e0dc662868addeff9fd013145c49a43c4a.tar.xz olio-linux-3.10-91ffb8e0dc662868addeff9fd013145c49a43c4a.zip | |
igbvf: Check for error on dma_map_single call
Ignoring the return value from a call to the kernel dma_map API functions
can cause data corruption and system instability. Check the return value
and take appropriate action.
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions