Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268042
b: refs/heads/master
c: 509ee38
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 29, 2011
1 parent d5807ff commit 14779fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 356c4657193c8a5b3aff84fe8cdf5ddc64742801
refs/heads/master: 509ee3878b8f0f8908892579d679c123084f5ac5
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static struct netvsc_device *alloc_net_device(struct hv_device *device)
return NULL;

/* Set to 2 to allow both inbound and outbound traffic */
atomic_cmpxchg(&net_device->refcnt, 0, 2);
atomic_set(&net_device->refcnt, 2);

net_device->dev = device;
device->ext = net_device;
Expand Down

0 comments on commit 14779fb

Please sign in to comment.