xen-netback: delete NAPI instance when queue fails to initialize
authorDavid Vrabel <david.vrabel@citrix.com>
Fri, 15 Jan 2016 14:55:35 +0000 (14:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jan 2016 20:13:18 +0000 (15:13 -0500)
commit4a658527271bce43afb1cf4feec89afe6716ca59
treeeac8a0c52a45422e15a1c0b6a068c32d0890848f
parent99a2dea50d5deff134b6c346f53a3ad1f583ee96
xen-netback: delete NAPI instance when queue fails to initialize

When xenvif_connect() fails it may leave a stale NAPI instance added to
the device.  Make sure we delete it in the error path.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/interface.c