]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
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)
commit95de86cf5162f78bc5aea80d1a9e5a248196ffaf
tree9b44a633e311240611fa18c7ca5e055c2af9250e
parent676a1184e8afd4fed7948232df1ff91517400859
ibmveth: Fix oops on request_irq failure

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>
drivers/net/ibmveth.c