Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220412
b: refs/heads/master
c: 314bf1d
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 21, 2010
1 parent bc0ed96 commit 2a3aebf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 18726d7a60fdced593b94ff7cc5264ba753ef656
refs/heads/master: 314bf1d12a5f7597b316552b008051c26627eabb
10 changes: 5 additions & 5 deletions trunk/drivers/staging/hv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "logging.h"
#include "netvsc.h"
#include "rndis_filter.h"
#include "channel.h"


/* Globals */
Expand Down Expand Up @@ -468,9 +469,8 @@ static int NetVscDestroyReceiveBuffer(struct netvsc_device *NetDevice)
if (NetDevice->ReceiveBufferGpadlHandle) {
DPRINT_INFO(NETVSC, "Tearing down receive buffer's GPADL...");

ret = NetDevice->Device->Driver->VmbusChannelInterface.TeardownGpadl(
NetDevice->Device,
NetDevice->ReceiveBufferGpadlHandle);
ret = vmbus_teardown_gpadl(NetDevice->Device->context,
NetDevice->ReceiveBufferGpadlHandle);

/* If we failed here, we might as well return and have a leak rather than continue and a bugchk */
if (ret != 0) {
Expand Down Expand Up @@ -540,8 +540,8 @@ static int NetVscDestroySendBuffer(struct netvsc_device *NetDevice)
/* Teardown the gpadl on the vsp end */
if (NetDevice->SendBufferGpadlHandle) {
DPRINT_INFO(NETVSC, "Tearing down send buffer's GPADL...");

ret = NetDevice->Device->Driver->VmbusChannelInterface.TeardownGpadl(NetDevice->Device, NetDevice->SendBufferGpadlHandle);
ret = vmbus_teardown_gpadl(NetDevice->Device->context,
NetDevice->SendBufferGpadlHandle);

/*
* If we failed here, we might as well return and have a leak
Expand Down

0 comments on commit 2a3aebf

Please sign in to comment.