summaryrefslogtreecommitdiff
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2019-10-18 09:45:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-29 09:22:46 +0100
commite8dc486e861dc824cf3b851c4bded331bef998f2 (patch)
tree3b289faa1d274c659ce3d7289d9bba997bfac56c /drivers/pci/pci.c
parentf55937689844659bd04e754ccd1768611a65fba0 (diff)
xen/netback: fix error path of xenvif_connect_data()
commit 3d5c1a037d37392a6859afbde49be5ba6a70a6b3 upstream. xenvif_connect_data() calls module_put() in case of error. This is wrong as there is no related module_get(). Remove the superfluous module_put(). Fixes: 279f438e36c0a7 ("xen-netback: Don't destroy the netdev until the vif is shut down") Cc: <stable@vger.kernel.org> # 3.12 Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Paul Durrant <paul@xen.org> Reviewed-by: Wei Liu <wei.liu@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions