]> git.baikalelectronics.ru Git - 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)
commit976682f8cccc87b08decda60bb4c77bf12d87b7f
tree9b44a633e311240611fa18c7ca5e055c2af9250e
parent2660b1901db1cdae3ef652e81a9e3392d0303f1f
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