ibmveth: Fix oops on request_irq failure
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 28 Sep 2011 05:33:43 +0000 (05:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Sep 2011 04:32:11 +0000 (00:32 -0400)
If request_irq fails, the ibmveth driver will overwrite
the rc and end up returning a successful rc on its open
function, resulting in an oops later when a packet gets
sent and buffers are not allocated due to the failed open.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found